OXIESEC PANEL
- Current Dir:
/
/
usr
/
bin
Server IP: 82.112.239.19
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
01/29/2025 10:07:18 PM
rwxr-xr-x
📄
7za
49 bytes
10/04/2024 01:49:32 AM
rwxr-xr-x
📄
[
51.81 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
aclocal
35.52 KB
09/27/2023 12:16:24 PM
rwxr-xr-x
📄
aclocal-1.16
35.52 KB
09/27/2023 12:16:24 PM
rwxr-xr-x
📄
addr2line
27.93 KB
10/03/2024 05:16:41 AM
rwxr-xr-x
📄
ar
56.19 KB
10/03/2024 05:16:41 AM
rwxr-xr-x
📄
arch
31.66 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
arpaname
15.28 KB
02/19/2025 04:04:24 PM
rwxr-xr-x
📄
as
710.51 KB
10/03/2024 05:16:41 AM
rwxr-xr-x
📄
aspell
151.12 KB
01/26/2022 09:47:25 PM
rwxr-xr-x
📄
autoconf
14.42 KB
10/02/2024 08:06:28 PM
rwxr-xr-x
📄
autoheader
8.33 KB
10/02/2024 08:06:28 PM
rwxr-xr-x
📄
autom4te
31.43 KB
10/02/2024 08:06:28 PM
rwxr-xr-x
📄
automake
251.93 KB
09/27/2023 12:16:24 PM
rwxr-xr-x
📄
automake-1.16
251.93 KB
09/27/2023 12:16:24 PM
rwxr-xr-x
📄
autoreconf
20.57 KB
10/02/2024 08:06:28 PM
rwxr-xr-x
📄
autoscan
16.72 KB
10/02/2024 08:06:28 PM
rwxr-xr-x
📄
autoupdate
33.08 KB
10/02/2024 08:06:28 PM
rwxr-xr-x
📄
awk
698.17 KB
03/30/2022 10:25:28 PM
rwxr-xr-x
📄
b2sum
51.8 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
base32
35.7 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
base64
35.7 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
basename
35.68 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
basenc
48.02 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
bash
1.32 MB
04/30/2024 02:33:56 PM
rwxr-xr-x
📄
bashbug-64
6.91 KB
04/30/2024 02:33:47 PM
rwxr-xr-x
📄
bunzip2
39.62 KB
02/04/2025 03:42:48 AM
rwxr-xr-x
📄
bzcat
39.62 KB
02/04/2025 03:42:48 AM
rwxr-xr-x
📄
bzcmp
2.09 KB
02/04/2025 03:42:48 AM
rwxr-xr-x
📄
bzdiff
2.09 KB
02/04/2025 03:42:48 AM
rwxr-xr-x
📄
bzgrep
2.01 KB
02/04/2025 03:42:48 AM
rwxr-xr-x
📄
bzip2
39.62 KB
02/04/2025 03:42:48 AM
rwxr-xr-x
📄
bzip2recover
15.4 KB
02/04/2025 03:42:48 AM
rwxr-xr-x
📄
bzless
1.23 KB
02/04/2025 03:42:48 AM
rwxr-xr-x
📄
bzmore
1.23 KB
02/04/2025 03:42:48 AM
rwxr-xr-x
📄
c++filt
27.38 KB
10/03/2024 05:16:41 AM
rwxr-xr-x
📄
cagefs_enter.proxied
1.04 KB
12/24/2024 11:28:37 AM
rwxr-xr-x
📄
cal
52.02 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
captoinfo
87.8 KB
09/27/2023 03:05:19 AM
rwxr-xr-x
📄
cat
35.66 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
catchsegv
3.21 KB
03/10/2025 10:35:10 AM
rwxr-xr-x
📄
cc
0 bytes
01/01/1970 12:00:00 AM
---------
📄
chcon
60.24 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
chgrp
56.17 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
chmod
56.19 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
chown
60.2 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
chrt
27.49 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
cksum
35.58 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
clear
15.15 KB
09/27/2023 03:05:19 AM
rwxr-xr-x
📄
cloudlinux-awp-user
1.78 KB
02/21/2025 04:11:52 PM
rwxr-xr-x
📄
clwpos-user
1.78 KB
02/21/2025 04:11:52 PM
rwxr-xr-x
📄
cmp
40.13 KB
01/29/2022 06:15:51 PM
rwxr-xr-x
📄
col
23.43 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
colcrt
15.39 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
colrm
15.38 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
column
35.53 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
comm
35.77 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
cp
149.23 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
cpp
1.04 MB
02/12/2025 01:11:11 PM
rwxr-xr-x
📄
csplit
108.88 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
curl
248.67 KB
10/02/2024 06:45:14 PM
rwxr-xr-x
📄
cut
47.82 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
cyrusbdb2current
1.58 MB
04/10/2023 02:10:39 PM
rwxr-xr-x
📄
date
104.05 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
dbiprof
6.06 KB
02/16/2022 08:03:52 AM
rwxr-xr-x
📄
delv
45.55 KB
02/19/2025 04:04:24 PM
rwxr-xr-x
📄
df
84.74 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
diff
194.7 KB
01/29/2022 06:15:51 PM
rwxr-xr-x
📄
diff3
52.3 KB
01/29/2022 06:15:51 PM
rwxr-xr-x
📄
dig
136.77 KB
02/19/2025 04:04:24 PM
rwxr-xr-x
📄
dir
137.66 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
dircolors
39.81 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
dirname
31.49 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
dltest
15.68 KB
02/11/2022 06:55:07 AM
rwxr-xr-x
📄
dnstap-read
23.37 KB
02/19/2025 04:04:24 PM
rwxr-xr-x
📄
du
149.45 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
echo
35.48 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
ed
52.51 KB
01/30/2022 05:02:01 AM
rwxr-xr-x
📄
egrep
32 bytes
01/31/2022 08:22:32 PM
rwxr-xr-x
📄
enchant
23.73 KB
01/30/2022 11:02:06 AM
rwxr-xr-x
📄
enchant-lsmod
15.8 KB
01/30/2022 11:02:06 AM
rwxr-xr-x
📄
env
44.23 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
eps2eps
643 bytes
09/03/2024 11:35:23 AM
rwxr-xr-x
📄
eqn
189.52 KB
02/01/2022 10:44:53 AM
rwxr-xr-x
📄
ex
1.39 MB
10/02/2024 11:01:05 PM
rwxr-xr-x
📄
expand
39.74 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
expr
108.6 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
factor
72.05 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
false
27.48 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
fc-cache
139 bytes
01/23/2023 03:48:20 PM
rwxr-xr-x
📄
fc-cache-64
23.17 KB
01/23/2023 07:48:35 PM
rwxr-xr-x
📄
fc-cat
19.16 KB
01/23/2023 07:48:35 PM
rwxr-xr-x
📄
fc-conflist
15.13 KB
01/23/2023 07:48:35 PM
rwxr-xr-x
📄
fc-list
15.13 KB
01/23/2023 07:48:35 PM
rwxr-xr-x
📄
fc-match
15.13 KB
01/23/2023 07:48:35 PM
rwxr-xr-x
📄
fc-pattern
15.14 KB
01/23/2023 07:48:35 PM
rwxr-xr-x
📄
fc-query
15.13 KB
01/23/2023 07:48:35 PM
rwxr-xr-x
📄
fc-scan
15.14 KB
01/23/2023 07:48:35 PM
rwxr-xr-x
📄
fc-validate
15.14 KB
01/23/2023 07:48:35 PM
rwxr-xr-x
📄
fgrep
32 bytes
01/31/2022 08:22:32 PM
rwxr-xr-x
📄
file
27.74 KB
04/03/2024 12:38:13 PM
rwxr-xr-x
📄
find
284.95 KB
10/02/2024 09:04:59 PM
rwxr-xr-x
📄
flock
23.56 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
fmt
39.77 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
fold
39.72 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
free
23.36 KB
04/30/2024 04:43:23 PM
rwxr-xr-x
📄
funzip
31.42 KB
03/18/2025 03:53:48 AM
rwxr-xr-x
📄
gawk
698.17 KB
03/30/2022 10:25:28 PM
rwxr-xr-x
📄
gcc-ar
27.81 KB
02/12/2025 01:11:11 PM
rwxr-xr-x
📄
gcc-nm
27.8 KB
02/12/2025 01:11:11 PM
rwxr-xr-x
📄
gcc-ranlib
27.82 KB
02/12/2025 01:11:11 PM
rwxr-xr-x
📄
gcov-dump
283.74 KB
02/12/2025 01:11:12 PM
rwxr-xr-x
📄
gcov-tool
312.46 KB
02/12/2025 01:11:12 PM
rwxr-xr-x
📄
gencat
27.64 KB
03/10/2025 10:37:59 AM
rwxr-xr-x
📄
geoiplookup
15.86 KB
11/05/2021 01:40:44 PM
rwxr-xr-x
📄
geoiplookup6
15.81 KB
11/05/2021 01:40:44 PM
rwxr-xr-x
📄
geqn
189.52 KB
02/01/2022 10:44:53 AM
rwxr-xr-x
📄
getconf
35.41 KB
03/10/2025 10:37:59 AM
rwxr-xr-x
📄
getent
36.03 KB
03/10/2025 10:37:59 AM
rwxr-xr-x
📄
getopt
23.46 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
ghostscript
15.31 KB
09/03/2024 11:35:34 AM
rwxr-xr-x
📄
gifdiff
55.9 KB
02/21/2024 04:36:44 AM
rwxr-xr-x
📄
gifsicle
194.05 KB
02/21/2024 04:36:44 AM
rwxr-xr-x
📄
git
3.87 MB
12/17/2024 12:17:15 PM
rwxr-xr-x
📄
git-receive-pack
3.87 MB
12/17/2024 12:17:15 PM
rwxr-xr-x
📄
git-shell
637.14 KB
12/17/2024 12:17:15 PM
rwxr-xr-x
📄
git-upload-archive
3.87 MB
12/17/2024 12:17:15 PM
rwxr-xr-x
📄
git-upload-pack
3.87 MB
12/17/2024 12:17:15 PM
rwxr-xr-x
📄
gm
15.67 KB
11/23/2022 05:49:37 PM
rwxr-xr-x
📄
gneqn
916 bytes
02/01/2022 10:44:38 AM
rwxr-xr-x
📄
gnroff
3.21 KB
02/01/2022 10:44:38 AM
rwxr-xr-x
📄
gpg
1.07 MB
09/26/2023 07:39:20 PM
rwxr-xr-x
📄
gpg-agent
342.25 KB
09/26/2023 07:39:20 PM
rwxr-xr-x
📄
gpg-error
36.1 KB
02/09/2022 11:24:31 PM
rwxr-xr-x
📄
gpgsplit
27.49 KB
09/26/2023 07:39:20 PM
rwxr-xr-x
📄
gpgv
295.42 KB
09/26/2023 07:39:20 PM
rwxr-xr-x
📄
gpic
201.72 KB
02/01/2022 10:44:53 AM
rwxr-xr-x
📄
gprof
101.66 KB
10/03/2024 05:16:41 AM
rwxr-xr-x
📄
grep
154.49 KB
01/31/2022 08:22:36 PM
rwxr-xr-x
📄
groff
96.77 KB
02/01/2022 10:44:53 AM
rwxr-xr-x
📄
grops
167.26 KB
02/01/2022 10:44:53 AM
rwxr-xr-x
📄
grotty
122.2 KB
02/01/2022 10:44:53 AM
rwxr-xr-x
📄
groups
35.68 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
gs
15.31 KB
09/03/2024 11:35:34 AM
rwxr-xr-x
📄
gsnd
281 bytes
09/03/2024 11:35:23 AM
rwxr-xr-x
📄
gsoelim
0 bytes
01/01/1970 12:00:00 AM
---------
📄
gtar
514.27 KB
10/02/2024 09:24:00 PM
rwxr-xr-x
📄
gtbl
130.86 KB
02/01/2022 10:44:53 AM
rwxr-xr-x
📄
gtroff
732.07 KB
02/01/2022 10:44:53 AM
rwxr-xr-x
📄
gunzip
2.29 KB
10/15/2022 05:26:34 PM
rwxr-xr-x
📄
gzexe
6.3 KB
10/15/2022 05:26:34 PM
rwxr-xr-x
📄
gzip
89.63 KB
10/15/2022 05:26:34 PM
rwxr-xr-x
📄
hdu
18.09 KB
08/27/2024 07:27:06 PM
rwxr-xr-x
📄
head
43.8 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
hexdump
51.6 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
host
108.76 KB
02/19/2025 04:04:24 PM
rwxr-xr-x
📄
hostid
31.67 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
hostname
23.84 KB
02/14/2022 11:22:04 AM
rwxr-xr-x
📄
hunspell
102.67 KB
01/31/2022 08:22:03 PM
rwxr-xr-x
📄
iconv
64.38 KB
03/10/2025 10:37:59 AM
rwxr-xr-x
📄
id
39.72 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
idn
35.8 KB
12/20/2022 04:04:46 PM
rwxr-xr-x
📄
ifnames
4.03 KB
10/02/2024 08:06:28 PM
rwxr-xr-x
📄
infocmp
63.68 KB
09/27/2023 03:05:19 AM
rwxr-xr-x
📄
infotocap
87.8 KB
09/27/2023 03:05:19 AM
rwxr-xr-x
📄
install
149.29 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
ionice
15.41 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
ipcrm
19.42 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
ipcs
39.54 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
isosize
15.34 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
ispell
992 bytes
10/08/2019 12:15:21 AM
rwxr-xr-x
📄
isql
40.01 KB
02/11/2022 06:55:07 AM
rwxr-xr-x
📄
iusql
31.95 KB
02/11/2022 06:55:07 AM
rwxr-xr-x
📄
join
51.88 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
jpegoptim
48.83 KB
08/12/2023 05:24:00 PM
rwxr-xr-x
📄
kill
31.48 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
ld
1.7 MB
10/03/2024 05:16:41 AM
rwxr-xr-x
📄
ld.bfd
1.7 MB
10/03/2024 05:16:41 AM
rwxr-xr-x
📄
ldd
5.32 KB
03/10/2025 10:35:12 AM
rwxr-xr-x
📄
less
197.9 KB
10/02/2024 08:38:47 PM
rwxr-xr-x
📄
lessecho
15.37 KB
10/02/2024 08:38:47 PM
rwxr-xr-x
📄
lesskey
24.8 KB
10/02/2024 08:38:47 PM
rwxr-xr-x
📄
lesspipe.sh
3.5 KB
10/02/2024 07:31:20 PM
rwxr-xr-x
📄
link
31.67 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
ln
60.17 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
locale
59.34 KB
03/10/2025 10:37:59 AM
rwxr-xr-x
📄
localedef
314.54 KB
03/10/2025 10:37:59 AM
rwxr-xr-x
📄
logger
36.17 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
login
43.64 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
logname
31.67 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
look
19.37 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
ls
137.65 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
lto-dump
26.58 MB
02/12/2025 01:11:12 PM
rwxr-xr-x
📄
m4
240.4 KB
03/31/2022 07:28:13 AM
rwxr-xr-x
📄
mailq
0 bytes
01/01/1970 12:00:00 AM
---------
📄
make-dummy-cert
614 bytes
02/11/2025 09:56:48 PM
rwxr-xr-x
📄
mariadb
5.07 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mariadb-access
109.34 KB
10/29/2024 02:56:06 PM
rwxr-xr-x
📄
mariadb-admin
4.85 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mariadb-binlog
5.13 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mariadb-check
4.84 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mariadb-dump
4.93 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mariadb-find-rows
3.21 KB
10/29/2024 02:56:06 PM
rwxr-xr-x
📄
mariadb-import
4.84 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mariadb-show
4.83 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mariadb-waitpid
4.52 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mc
1.22 MB
02/10/2022 07:09:08 AM
rwxr-xr-x
📄
mcdiff
1.22 MB
02/10/2022 07:09:08 AM
rwxr-xr-x
📄
mcedit
1.22 MB
02/10/2022 07:09:08 AM
rwxr-xr-x
📄
mcookie
27.51 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
mcview
1.22 MB
02/10/2022 07:09:08 AM
rwxr-xr-x
📄
md5sum
39.65 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
mesg
15.34 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
mkdir
68.31 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
mkfifo
39.83 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
mknod
43.88 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
mktemp
39.81 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
more
43.63 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
msmtp
133.98 KB
11/21/2022 08:25:25 PM
rwxr-xr-x
📄
msmtpd
35.65 KB
11/21/2022 08:25:25 PM
rwxr-xr-x
📄
msql2mysql
1.42 KB
10/29/2024 02:56:06 PM
rwxr-xr-x
📄
mv
141.17 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
my_print_defaults
4.53 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mysql
5.07 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mysql_config
4.57 KB
10/29/2024 02:56:06 PM
rwxr-xr-x
📄
mysql_find_rows
3.21 KB
10/29/2024 02:56:06 PM
rwxr-xr-x
📄
mysql_waitpid
4.52 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mysqlaccess
109.34 KB
10/29/2024 02:56:06 PM
rwxr-xr-x
📄
mysqladmin
4.85 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mysqlbinlog
5.13 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mysqlcheck
4.84 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mysqldump
4.93 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mysqlimport
4.84 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
mysqlshow
4.83 MB
10/29/2024 04:02:47 PM
rwxr-xr-x
📄
namei
23.42 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
nano
346.22 KB
10/02/2024 09:37:48 PM
rwxr-xr-x
📄
neqn
916 bytes
02/01/2022 10:44:38 AM
rwxr-xr-x
📄
newaliases
0 bytes
01/01/1970 12:00:00 AM
---------
📄
nice
35.68 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
nl
100.7 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
nm
44.91 KB
10/03/2024 05:16:41 AM
rwxr-xr-x
📄
nohup
35.59 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
nproc
35.7 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
nroff
3.21 KB
02/01/2022 10:44:38 AM
rwxr-xr-x
📄
nslookup
112.71 KB
02/19/2025 04:04:24 PM
rwxr-xr-x
📄
nsupdate
71.99 KB
02/19/2025 04:04:24 PM
rwxr-xr-x
📄
numfmt
55.83 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
objcopy
185.56 KB
10/03/2024 05:16:41 AM
rwxr-xr-x
📄
objdump
413.3 KB
10/03/2024 05:16:41 AM
rwxr-xr-x
📄
od
64.07 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
odbc_config
15.7 KB
02/11/2022 06:55:07 AM
rwxr-xr-x
📄
odbcinst
23.9 KB
02/11/2022 06:55:07 AM
rwxr-xr-x
📄
openssl
1.01 MB
02/11/2025 09:56:51 PM
rwxr-xr-x
📄
optipng
92.05 KB
11/05/2023 12:25:18 PM
rwxr-xr-x
📄
pango-list
19.11 KB
04/07/2023 10:19:30 AM
rwxr-xr-x
📄
pango-segmentation
19.13 KB
04/07/2023 10:19:30 AM
rwxr-xr-x
📄
pango-view
60.17 KB
04/07/2023 10:19:30 AM
rwxr-xr-x
📄
passwd
1.02 KB
04/14/2022 02:45:09 PM
rwxr-xr-x
📄
paste
35.59 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
patch
195.02 KB
03/25/2022 03:42:41 PM
rwxr-xr-x
📄
pathchk
35.66 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
pdf2dsc
701 bytes
09/03/2024 11:35:23 AM
rwxr-xr-x
📄
pdf2ps
913 bytes
09/03/2024 11:35:23 AM
rwxr-xr-x
📄
perldoc
118 bytes
02/14/2022 11:51:30 PM
rwxr-xr-x
📄
pgrep
31.42 KB
04/30/2024 04:43:23 PM
rwxr-xr-x
📄
php
10.11 MB
03/12/2025 01:49:57 PM
rwxr-xr-x
📄
php-cgi
10.11 MB
03/12/2025 01:49:57 PM
rwxr-xr-x
📄
phpize
4.97 KB
05/06/2025 02:47:00 PM
rwxr-xr-x
📄
pic
201.72 KB
02/01/2022 10:44:53 AM
rwxr-xr-x
📄
piconv
8.08 KB
02/11/2022 04:42:02 PM
rwxr-xr-x
📄
ping
76.66 KB
12/17/2024 10:51:58 AM
rwxr-xr-x
📄
pinky
35.62 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
pkill
31.42 KB
04/30/2024 04:43:23 PM
rwxr-xr-x
📄
pmap
35.39 KB
04/30/2024 04:43:23 PM
rwxr-xr-x
📄
pod2man
14.68 KB
03/25/2022 12:10:57 PM
rwxr-xr-x
📄
pod2text
10.55 KB
03/25/2022 12:10:57 PM
rwxr-xr-x
📄
pod2usage
4.01 KB
02/11/2022 04:01:30 PM
rwxr-xr-x
📄
post-grohtml
199.76 KB
02/01/2022 10:44:53 AM
rwxr-xr-x
📄
pr
72.3 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
pre-grohtml
92.92 KB
02/01/2022 10:44:53 AM
rwxr-xr-x
📄
precat
5.53 KB
10/08/2019 12:15:21 AM
rwxr-xr-x
📄
preunzip
5.53 KB
10/08/2019 12:15:21 AM
rwxr-xr-x
📄
prezip
5.53 KB
10/08/2019 12:15:21 AM
rwxr-xr-x
📄
prezip-bin
15.69 KB
01/26/2022 09:47:25 PM
rwxr-xr-x
📄
printenv
31.48 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
printf
51.78 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
ps
141.15 KB
04/30/2024 04:43:23 PM
rwxr-xr-x
📄
ps2ascii
635 bytes
09/03/2024 11:35:23 AM
rwxr-xr-x
📄
ps2epsi
1.24 KB
09/03/2024 11:35:23 AM
rwxr-xr-x
📄
ps2pdf
276 bytes
09/03/2024 11:35:23 AM
rwxr-xr-x
📄
ps2pdf12
219 bytes
09/03/2024 11:35:23 AM
rwxr-xr-x
📄
ps2pdf13
219 bytes
09/03/2024 11:35:23 AM
rwxr-xr-x
📄
ps2pdf14
219 bytes
09/03/2024 11:35:23 AM
rwxr-xr-x
📄
ps2pdfwr
1.06 KB
09/03/2024 11:35:23 AM
rwxr-xr-x
📄
ps2ps
651 bytes
09/03/2024 11:35:23 AM
rwxr-xr-x
📄
ps2ps2
673 bytes
09/03/2024 11:35:23 AM
rwxr-xr-x
📄
ptx
129.04 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
pwd
35.7 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
pwdx
15.28 KB
04/30/2024 04:43:23 PM
rwxr-xr-x
📄
ranlib
56.2 KB
10/03/2024 05:16:41 AM
rwxr-xr-x
📄
readelf
667.48 KB
10/03/2024 05:16:41 AM
rwxr-xr-x
📄
readlink
39.7 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
realpath
39.77 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
recode
31.93 KB
11/02/2022 11:35:06 AM
rwxr-xr-x
📄
red
92 bytes
01/30/2022 05:02:00 AM
rwxr-xr-x
📄
rename
23.42 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
renew-dummy-cert
729 bytes
02/11/2025 09:56:48 PM
rwxr-xr-x
📄
renice
15.37 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
reset
27.34 KB
09/27/2023 03:05:19 AM
rwxr-xr-x
📄
restic
28.4 MB
06/20/2025 12:51:17 PM
rwx------
📄
rev
15.36 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
rm
60.21 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
rmdir
43.62 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
rnano
346.22 KB
10/02/2024 09:37:48 PM
rwxr-xr-x
📄
rsync
554.8 KB
01/15/2025 09:37:49 AM
rwxr-xr-x
📄
rsync-ssl
4.82 KB
01/15/2025 09:37:35 AM
rwxr-xr-x
📄
run-with-aspell
89 bytes
01/26/2022 09:47:11 PM
rwxr-xr-x
📄
runcon
35.65 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
rvi
1.39 MB
10/02/2024 11:01:05 PM
rwxr-xr-x
📄
rview
1.39 MB
10/02/2024 11:01:05 PM
rwxr-xr-x
📄
rvim
3.84 MB
10/02/2024 11:01:05 PM
rwxr-xr-x
📄
scalar
685.83 KB
12/17/2024 12:17:15 PM
rwxr-xr-x
📄
scl
39.55 KB
04/07/2023 01:57:08 AM
rwxr-xr-x
📄
scl_enabled
262 bytes
07/27/2021 03:14:26 PM
rwxr-xr-x
📄
scl_source
1.88 KB
07/27/2021 03:14:26 PM
rwxr-xr-x
📄
scp
133.07 KB
03/01/2025 08:47:16 AM
rwxr-xr-x
📄
script
51.76 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
sdiff
44.2 KB
01/29/2022 06:15:51 PM
rwxr-xr-x
📄
sed
114.01 KB
02/15/2022 10:36:52 AM
rwxr-xr-x
📄
seq
47.8 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
setsid
15.35 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
setterm
35.52 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
sftp
141.06 KB
03/01/2025 08:47:16 AM
rwxr-xr-x
📄
sh
1.32 MB
04/30/2024 02:33:56 PM
rwxr-xr-x
📄
sha1sum
39.65 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
sha224sum
39.65 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
sha256sum
39.65 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
sha384sum
39.65 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
sha512sum
39.65 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
shred
51.88 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
shuf
48.02 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
size
31.8 KB
10/03/2024 05:16:41 AM
rwxr-xr-x
📄
skill
31.4 KB
04/30/2024 04:43:23 PM
rwxr-xr-x
📄
slabtop
23.42 KB
04/30/2024 04:43:23 PM
rwxr-xr-x
📄
sleep
35.66 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
slencheck
15.71 KB
02/11/2022 06:55:07 AM
rwxr-xr-x
📄
snice
31.4 KB
04/30/2024 04:43:23 PM
rwxr-xr-x
📄
soelim
0 bytes
01/01/1970 12:00:00 AM
---------
📄
sort
113.11 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
spell
125 bytes
10/08/2019 12:15:21 AM
rwxr-xr-x
📄
split
52.33 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
sprof
35.62 KB
03/10/2025 10:37:59 AM
rwxr-xr-x
📄
sqlite3
1.52 MB
01/24/2024 11:10:31 PM
rwxr-xr-x
📄
ssh
843.53 KB
03/01/2025 08:47:16 AM
rwxr-xr-x
📄
ssh-add
164.87 KB
03/01/2025 08:47:16 AM
rwxr-xr-x
📄
ssh-agent
281.02 KB
03/01/2025 08:47:16 AM
rwxr-xr-x
📄
ssh-copy-id
12.38 KB
03/01/2025 08:47:15 AM
rwxr-xr-x
📄
ssh-keygen
455.04 KB
03/01/2025 08:47:16 AM
rwxr-xr-x
📄
ssh-keyscan
197.44 KB
03/01/2025 08:47:16 AM
rwxr-xr-x
📄
stat
80.07 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
stdbuf
43.75 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
strings
31.92 KB
10/03/2024 05:16:41 AM
rwxr-xr-x
📄
strip
185.55 KB
10/03/2024 05:16:41 AM
rwxr-xr-x
📄
stty
75.84 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
sum
35.6 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
svn
446.56 KB
05/23/2022 02:43:50 PM
rwxr-xr-x
📄
svnadmin
136.45 KB
05/23/2022 02:43:50 PM
rwxr-xr-x
📄
svndumpfilter
44.15 KB
05/23/2022 02:43:50 PM
rwxr-xr-x
📄
svnfsfs
44.03 KB
05/23/2022 02:43:50 PM
rwxr-xr-x
📄
svnlook
92.23 KB
05/23/2022 02:43:50 PM
rwxr-xr-x
📄
svnrdump
56.23 KB
05/23/2022 02:43:50 PM
rwxr-xr-x
📄
svnserve
112.91 KB
05/23/2022 02:43:50 PM
rwxr-xr-x
📄
svnsync
68.41 KB
05/23/2022 02:43:50 PM
rwxr-xr-x
📄
svnversion
15.72 KB
05/23/2022 02:43:50 PM
rwxr-xr-x
📄
sync
35.55 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
tabs
19.16 KB
09/27/2023 03:05:19 AM
rwxr-xr-x
📄
tac
104.61 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
tail
68.1 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
tar
514.27 KB
10/02/2024 09:24:00 PM
rwxr-xr-x
📄
taskset
23.41 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
tbl
130.86 KB
02/01/2022 10:44:53 AM
rwxr-xr-x
📄
tclsh
15.69 KB
10/15/2022 09:29:43 PM
rwxr-xr-x
📄
tclsh8.6
15.69 KB
10/15/2022 09:29:43 PM
rwxr-xr-x
📄
tee
35.7 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
test
43.8 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
tic
87.8 KB
09/27/2023 03:05:19 AM
rwxr-xr-x
📄
timeout
40.18 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
tload
19.34 KB
04/30/2024 04:43:23 PM
rwxr-xr-x
📄
tmpwatch
36.03 KB
02/11/2022 11:52:55 AM
rwxr-xr-x
📄
toe
23.23 KB
09/27/2023 03:05:19 AM
rwxr-xr-x
📄
top
132.27 KB
04/30/2024 04:43:23 PM
rwxr-xr-x
📄
touch
92.04 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
tput
27.25 KB
09/27/2023 03:05:19 AM
rwxr-xr-x
📄
tr
47.87 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
tree
85.45 KB
02/12/2022 01:46:16 AM
rwxr-xr-x
📄
troff
732.07 KB
02/01/2022 10:44:53 AM
rwxr-xr-x
📄
true
27.48 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
truncate
35.66 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
tset
27.34 KB
09/27/2023 03:05:19 AM
rwxr-xr-x
📄
tsort
47.8 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
tty
31.66 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
tzselect
14.99 KB
03/10/2025 10:34:47 AM
rwxr-xr-x
📄
ul
23.45 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
uname
31.66 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
unexpand
39.73 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
uniq
43.84 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
unlink
31.66 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
unrar
347.02 KB
05/04/2022 06:22:12 PM
rwxr-xr-x
📄
unzip
196.14 KB
03/18/2025 03:53:48 AM
rwxr-xr-x
📄
unzipsfx
87.89 KB
03/18/2025 03:53:48 AM
rwxr-xr-x
📄
uptime
15.29 KB
04/30/2024 04:43:23 PM
rwxr-xr-x
📄
users
35.69 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
utmpdump
23.4 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
vdir
137.66 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
vi
691 bytes
10/02/2024 11:01:02 PM
rwxr-xr-x
📄
view
150 bytes
10/02/2024 11:01:02 PM
rwxr-xr-x
📄
vim
3.84 MB
10/02/2024 11:01:05 PM
rwxr-xr-x
📄
vimdiff
3.84 MB
10/02/2024 11:01:05 PM
rwxr-xr-x
📄
vimtutor
2.07 KB
10/02/2024 11:01:01 PM
rwxr-xr-x
📄
vmstat
39.41 KB
04/30/2024 04:43:23 PM
rwxr-xr-x
📄
watch
27.87 KB
04/30/2024 04:43:23 PM
rwxr-xr-x
📄
wc
43.74 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
wget
521.41 KB
09/03/2024 11:58:56 AM
rwxr-xr-x
📄
whereis
32.04 KB
10/02/2024 10:24:49 PM
rwxr-xr-x
📄
which
27.89 KB
09/27/2023 05:32:45 PM
rwxr-xr-x
📄
who
51.77 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
whoami
31.66 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
word-list-compress
15.7 KB
01/26/2022 09:47:25 PM
rwxr-xr-x
📄
x86_64-redhat-linux-gcc-11
1.04 MB
02/12/2025 01:11:11 PM
rwxr-xr-x
📄
xargs
64.09 KB
10/02/2024 09:04:59 PM
rwxr-xr-x
📄
xmlcatalog
23.33 KB
03/12/2025 06:46:07 PM
rwxr-xr-x
📄
xmllint
80.75 KB
03/12/2025 06:46:07 PM
rwxr-xr-x
📄
xmlwf
39.81 KB
04/02/2025 04:03:35 PM
rwxr-xr-x
📄
xsltproc
31.41 KB
03/24/2025 03:42:25 PM
rwxr-xr-x
📄
xxd
19.52 KB
10/02/2024 11:01:05 PM
rwxr-xr-x
📄
yes
31.52 KB
10/02/2024 09:44:18 PM
rwxr-xr-x
📄
zcat
1.94 KB
10/15/2022 05:26:34 PM
rwxr-xr-x
📄
zcmp
1.64 KB
10/15/2022 05:26:34 PM
rwxr-xr-x
📄
zdiff
6.31 KB
10/15/2022 05:26:34 PM
rwxr-xr-x
📄
zegrep
33 bytes
10/15/2022 05:26:34 PM
rwxr-xr-x
📄
zfgrep
33 bytes
10/15/2022 05:26:34 PM
rwxr-xr-x
📄
zforce
2.04 KB
10/15/2022 05:26:34 PM
rwxr-xr-x
📄
zgrep
7.93 KB
10/15/2022 05:26:34 PM
rwxr-xr-x
📄
zip
221.09 KB
04/07/2023 02:02:33 PM
rwxr-xr-x
📄
zipcloak
75.7 KB
04/07/2023 02:02:33 PM
rwxr-xr-x
📄
zipgrep
2.89 KB
10/10/2008 05:40:36 PM
rwxr-xr-x
📄
zipinfo
196.14 KB
03/18/2025 03:53:48 AM
rwxr-xr-x
📄
zipnote
67.61 KB
04/07/2023 02:02:33 PM
rwxr-xr-x
📄
zipsplit
63.58 KB
04/07/2023 02:02:33 PM
rwxr-xr-x
📄
zless
2.16 KB
10/15/2022 05:26:34 PM
rwxr-xr-x
📄
zmore
1.8 KB
10/15/2022 05:26:34 PM
rwxr-xr-x
📄
znew
4.47 KB
10/15/2022 05:26:34 PM
rwxr-xr-x
📄
zsoelim
0 bytes
01/01/1970 12:00:00 AM
---------
Editing: autom4te
Close
#! /usr/bin/perl -w # -*- perl -*- # Generated from autom4te.in; do not edit by hand. eval 'case $# in 0) exec /usr/bin/perl -S "$0";; *) exec /usr/bin/perl -S "$0" "$@";; esac' if 0; # autom4te - Wrapper around M4 libraries. # Copyright (C) 2001-2003, 2005-2012 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. BEGIN { my $pkgdatadir = $ENV{'autom4te_perllibdir'} || '/usr/share/autoconf'; unshift @INC, $pkgdatadir; # Override SHELL. On DJGPP SHELL may not be set to a shell # that can handle redirection and quote arguments correctly, # e.g.: COMMAND.COM. For DJGPP always use the shell that configure # has detected. $ENV{'SHELL'} = '/bin/sh' if ($^O eq 'dos'); } use Autom4te::C4che; use Autom4te::ChannelDefs; use Autom4te::Channels; use Autom4te::FileUtils; use Autom4te::General; use Autom4te::XFile; use File::Basename; use strict; # Data directory. my $pkgdatadir = $ENV{'AC_MACRODIR'} || '/usr/share/autoconf'; # $LANGUAGE{LANGUAGE} -- Automatic options for LANGUAGE. my %language; my $output = '-'; # Mode of the output file except for traces. my $mode = "0666"; # If melt, don't use frozen files. my $melt = 0; # Names of the cache directory, cache directory index, trace cache # prefix, and output cache prefix. And the IO object for the index. my $cache; my $icache; my $tcache; my $ocache; my $icache_file; my $flock_implemented = 'yes'; # The macros to trace mapped to their format, as specified by the # user. my %trace; # The macros the user will want to trace in the future. # We need `include' to get the included file, `m4_pattern_forbid' and # `m4_pattern_allow' to check the output. # # FIXME: What about `sinclude'? my @preselect = ('include', 'm4_pattern_allow', 'm4_pattern_forbid', '_m4_warn'); # M4 include path. my @include; # Do we freeze? my $freeze = 0; # $M4. my $m4 = $ENV{"M4"} || '/usr/bin/m4'; # Some non-GNU m4's don't reject the --help option, so give them /dev/null. fatal "need GNU m4 1.4 or later: $m4" if system "$m4 --help </dev/null 2>&1 | grep reload-state >/dev/null"; # Set some high recursion limit as the default limit, 250, has already # been hit with AC_OUTPUT. Don't override the user's choice. $m4 .= ' --nesting-limit=1024' if " $m4 " !~ / (--nesting-limit(=[0-9]+)?|-L[0-9]*) /; # @M4_BUILTIN -- M4 builtins and a useful comment. my @m4_builtin = `echo dumpdef | $m4 2>&1 >/dev/null`; map { s/:.*//;s/\W// } @m4_builtin; # %M4_BUILTIN_ALTERNATE_NAME # -------------------------- # The builtins are renamed, e.g., `define' is renamed `m4_define'. # So map `define' to `m4_define' and conversely. # Some macros don't follow this scheme: be sure to properly map to their # alternate name too. # # FIXME: Trace status of renamed builtins was fixed in M4 1.4.5, which # we now depend on; do we still need to do this mapping? # # So we will merge them, i.e., tracing `BUILTIN' or tracing # `m4_BUILTIN' will be the same: tracing both, but honoring the # *last* trace specification. # # FIXME: This is not enough: in the output `$0' will be `BUILTIN' # sometimes and `m4_BUILTIN' at others. We should return a unique name, # the one specified by the user. # # FIXME: To be absolutely rigorous, I would say that given that we # _redefine_ divert (instead of _copying_ it), divert and the like # should not be part of this list. my %m4_builtin_alternate_name; @m4_builtin_alternate_name{"$_", "m4_$_"} = ("m4_$_", "$_") foreach (grep { !/m4wrap|m4exit|dnl|ifelse|__.*__/ } @m4_builtin); @m4_builtin_alternate_name{"ifelse", "m4_if"} = ("m4_if", "ifelse"); @m4_builtin_alternate_name{"m4exit", "m4_exit"} = ("m4_exit", "m4exit"); @m4_builtin_alternate_name{"m4wrap", "m4_wrap"} = ("m4_wrap", "m4wrap"); # $HELP # ----- $help = "Usage: $0 [OPTION]... [FILES] Run GNU M4 on the FILES, avoiding useless runs. Output the traces if tracing, the frozen file if freezing, otherwise the expansion of the FILES. If some of the FILES are named \`FILE.m4f\' they are considered to be M4 frozen files of all the previous files (which are therefore not loaded). If \`FILE.m4f\' is not found, then \`FILE.m4\' will be used, together with all the previous files. Some files may be optional, i.e., will only be processed if found in the include path, but then must end in \`.m4?\'; the question mark is not part of the actual file name. Operation modes: -h, --help print this help, then exit -V, --version print version number, then exit -v, --verbose verbosely report processing -d, --debug don\'t remove temporary files -o, --output=FILE save output in FILE (defaults to \`-\', stdout) -f, --force don\'t rely on cached values -W, --warnings=CATEGORY report the warnings falling in CATEGORY -l, --language=LANG specify the set of M4 macros to use -C, --cache=DIRECTORY preserve results for future runs in DIRECTORY --no-cache disable the cache -m, --mode=OCTAL change the non trace output file mode (0666) -M, --melt don\'t use M4 frozen files Languages include: \`Autoconf\' create Autoconf configure scripts \`Autotest\' create Autotest test suites \`M4sh\' create M4sh shell scripts \`M4sugar\' create M4sugar output " . Autom4te::ChannelDefs::usage . " The environment variables \`M4\' and \`WARNINGS\' are honored. Library directories: -B, --prepend-include=DIR prepend directory DIR to search path -I, --include=DIR append directory DIR to search path Tracing: -t, --trace=MACRO[:FORMAT] report the MACRO invocations -p, --preselect=MACRO prepare to trace MACRO in a future run Freezing: -F, --freeze produce an M4 frozen state file for FILES FORMAT defaults to \`\$f:\$l:\$n:\$%\', and can use the following escapes: \$\$ literal \$ \$f file where macro was called \$l line where macro was called \$d nesting depth of macro call \$n name of the macro \$NUM argument NUM, unquoted and with newlines \$SEP\@ all arguments, with newlines, quoted, and separated by SEP \$SEP* all arguments, with newlines, unquoted, and separated by SEP \$SEP% all arguments, without newlines, unquoted, and separated by SEP SEP can be empty for the default (comma for \@ and *, colon for %), a single character for that character, or {STRING} to use a string. Report bugs to <bug-autoconf\@gnu.org>. GNU Autoconf home page: <http://www.gnu.org/software/autoconf/>. General help using GNU software: <http://www.gnu.org/gethelp/>. "; # $VERSION # -------- $version = <<"EOF"; autom4te (GNU Autoconf) 2.69 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+/Autoconf: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>, <http://gnu.org/licenses/exceptions.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Akim Demaille. EOF ## ---------- ## ## Routines. ## ## ---------- ## # $OPTION # files_to_options (@FILE) # ------------------------ # Transform Autom4te conventions (e.g., using foo.m4f to designate a frozen # file) into a suitable command line for M4 (e.g., using --reload-state). # parse_args guarantees that we will see at most one frozen file, and that # if a frozen file is present, it is the first argument. sub files_to_options (@) { my (@file) = @_; my @res; foreach my $file (@file) { my $arg = shell_quote ($file); if ($file =~ /\.m4f$/) { $arg = "--reload-state=$arg"; # If the user downgraded M4 from 1.6 to 1.4.x after freezing # the file, then we ensure the frozen __m4_version__ will # not cause m4_init to make the wrong decision about the # current M4 version. $arg .= " --undefine=__m4_version__" unless grep {/__m4_version__/} @m4_builtin; } push @res, $arg; } return join ' ', @res; } # load_configuration ($FILE) # -------------------------- # Load the configuration $FILE. sub load_configuration ($) { my ($file) = @_; use Text::ParseWords; my $cfg = new Autom4te::XFile ("< " . open_quote ($file)); my $lang; while ($_ = $cfg->getline) { chomp; # Comments. next if /^\s*(\#.*)?$/; my @words = shellwords ($_); my $type = shift @words; if ($type eq 'begin-language:') { fatal "$file:$.: end-language missing for: $lang" if defined $lang; $lang = lc $words[0]; } elsif ($type eq 'end-language:') { error "$file:$.: end-language mismatch: $lang" if $lang ne lc $words[0]; $lang = undef; } elsif ($type eq 'args:') { fatal "$file:$.: no current language" unless defined $lang; push @{$language{$lang}}, @words; } else { error "$file:$.: unknown directive: $type"; } } } # parse_args () # ------------- # Process any command line arguments. sub parse_args () { # We want to look for the early options, which should not be found # in the configuration file. Prepend to the user arguments. # Perform this repeatedly so that we can use --language in language # definitions. Beware that there can be several --language # invocations. my @language; do { @language = (); use Getopt::Long; Getopt::Long::Configure ("pass_through", "permute"); GetOptions ("l|language=s" => \@language); foreach (@language) { error "unknown language: $_" unless exists $language{lc $_}; unshift @ARGV, @{$language{lc $_}}; } } while @language; # --debug is useless: it is parsed below. if (exists $ENV{'AUTOM4TE_DEBUG'}) { print STDERR "$me: concrete arguments:\n"; foreach my $arg (@ARGV) { print STDERR "| $arg\n"; } } # Process the arguments for real this time. my @trace; my @prepend_include; parse_WARNINGS; getopt ( # Operation modes: "o|output=s" => \$output, "W|warnings=s" => \&parse_warnings, "m|mode=s" => \$mode, "M|melt" => \$melt, # Library directories: "B|prepend-include=s" => \@prepend_include, "I|include=s" => \@include, # Tracing: # Using a hash for traces is seducing. Unfortunately, upon `-t FOO', # instead of mapping `FOO' to undef, Getopt maps it to `1', preventing # us from distinguishing `-t FOO' from `-t FOO=1'. So let's do it # by hand. "t|trace=s" => \@trace, "p|preselect=s" => \@preselect, # Freezing. "F|freeze" => \$freeze, # Caching. "C|cache=s" => \$cache, "no-cache" => sub { $cache = undef; }, ); fatal "too few arguments Try `$me --help' for more information." unless @ARGV; # Freezing: # We cannot trace at the same time (well, we can, but it sounds insane). # And it implies melting: there is risk not to update properly using # old frozen files, and worse yet: we could load a frozen file and # refreeze it! A sort of caching :) fatal "cannot freeze and trace" if $freeze && @trace; $melt = 1 if $freeze; # Names of the cache directory, cache directory index, trace cache # prefix, and output cache prefix. If the cache is not to be # preserved, default to a temporary directory (automatically removed # on exit). $cache = $tmp unless $cache; $icache = "$cache/requests"; $tcache = "$cache/traces."; $ocache = "$cache/output."; # Normalize the includes: the first occurrence is enough, several is # a pain since it introduces a useless difference in the path which # invalidates the cache. And strip `.' which is implicit and always # first. @include = grep { !/^\.$/ } uniq (reverse(@prepend_include), @include); # Convert @trace to %trace, and work around the M4 builtins tracing # problem. # The default format is `$f:$l:$n:$%'. foreach (@trace) { /^([^:]+)(?::(.*))?$/ms; $trace{$1} = defined $2 ? $2 : '$f:$l:$n:$%'; $trace{$m4_builtin_alternate_name{$1}} = $trace{$1} if exists $m4_builtin_alternate_name{$1}; } # Work around the M4 builtins tracing problem for @PRESELECT. # FIXME: Is this still needed, now that we rely on M4 1.4.5? push (@preselect, map { $m4_builtin_alternate_name{$_} } grep { exists $m4_builtin_alternate_name{$_} } @preselect); # If we find frozen files, then all the files before it are # discarded: the frozen file is supposed to include them all. # # We don't want to depend upon m4's --include to find the top level # files, so we use `find_file' here. Try to get a canonical name, # as it's part of the key for caching. And some files are optional # (also handled by `find_file'). my @argv; foreach (@ARGV) { if ($_ eq '-') { push @argv, $_; } elsif (/\.m4f$/) { # Frozen files are optional => pass a `?' to `find_file'. my $file = find_file ("$_?", @include); if (!$melt && $file) { @argv = ($file); } else { s/\.m4f$/.m4/; push @argv, find_file ($_, @include); } } else { my $file = find_file ($_, @include); push @argv, $file if $file; } } @ARGV = @argv; } # handle_m4 ($REQ, @MACRO) # ------------------------ # Run m4 on the input files, and save the traces on the @MACRO. sub handle_m4 ($@) { my ($req, @macro) = @_; # GNU m4 appends when using --debugfile/--error-output. unlink ($tcache . $req->id . "t"); # Run m4. # # We don't output directly to the cache files, to avoid problems # when we are interrupted (that leaves corrupted files). xsystem ("$m4 --gnu" . join (' --include=', '', map { shell_quote ($_) } @include) . ' --debug=aflq' . (!exists $ENV{'AUTOM4TE_NO_FATAL'} ? ' --fatal-warning' : '') . " --debugfile=" . shell_quote ("$tcache" . $req->id . "t") . join (' --trace=', '', map { shell_quote ($_) } sort @macro) . " " . files_to_options (@ARGV) . " > " . shell_quote ("$ocache" . $req->id . "t")); # Everything went ok: preserve the outputs. foreach my $file (map { $_ . $req->id } ($tcache, $ocache)) { use File::Copy; move ("${file}t", "$file") or fatal "cannot rename ${file}t as $file: $!"; } } # warn_forbidden ($WHERE, $WORD, %FORBIDDEN) # ------------------------------------------ # $WORD is forbidden. Warn with a dedicated error message if in # %FORBIDDEN, otherwise a simple `error: possibly undefined macro' # will do. my $first_warn_forbidden = 1; sub warn_forbidden ($$%) { my ($where, $word, %forbidden) = @_; my $message; for my $re (sort keys %forbidden) { if ($word =~ $re) { $message = $forbidden{$re}; last; } } $message ||= "possibly undefined macro: $word"; warn "$where: error: $message\n"; if ($first_warn_forbidden) { warn <<EOF; If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. EOF $first_warn_forbidden = 0; } } # handle_output ($REQ, $OUTPUT) # ----------------------------- # Run m4 on the input files, perform quadrigraphs substitution, check for # forbidden tokens, and save into $OUTPUT. sub handle_output ($$) { my ($req, $output) = @_; verb "creating $output"; # Load the forbidden/allowed patterns. handle_traces ($req, "$tmp/patterns", ('m4_pattern_forbid' => 'forbid:$1:$2', 'm4_pattern_allow' => 'allow:$1')); my @patterns = new Autom4te::XFile ("< " . open_quote ("$tmp/patterns"))->getlines; chomp @patterns; my %forbidden = map { /^forbid:([^:]+):.+$/ => /^forbid:[^:]+:(.+)$/ } @patterns; my $forbidden = join ('|', map { /^forbid:([^:]+)/ } @patterns) || "^\$"; my $allowed = join ('|', map { /^allow:([^:]+)/ } @patterns) || "^\$"; verb "forbidden tokens: $forbidden"; verb "forbidden token : $_ => $forbidden{$_}" foreach (sort keys %forbidden); verb "allowed tokens: $allowed"; # Read the (cached) raw M4 output, produce the actual result. We # have to use the 2nd arg to have Autom4te::XFile honor the third, but then # stdout is to be handled by hand :(. Don't use fdopen as it means # we will close STDOUT, which we already do in END. my $out = new Autom4te::XFile; if ($output eq '-') { $out->open (">$output"); } else { $out->open($output, O_CREAT | O_WRONLY | O_TRUNC, oct ($mode)); } fatal "cannot create $output: $!" unless $out; my $in = new Autom4te::XFile ("< " . open_quote ($ocache . $req->id)); my %prohibited; my $res; while ($_ = $in->getline) { s/\s+$//; s/__oline__/$./g; s/\@<:\@/[/g; s/\@:>\@/]/g; s/\@\{:\@/(/g; s/\@:\}\@/)/g; s/\@S\|\@/\$/g; s/\@%:\@/#/g; $res = $_; # Don't complain in comments. Well, until we have something # better, don't consider `#include' etc. are comments. s/\#.*// unless /^\#\s*(if|include|endif|ifdef|ifndef|define)\b/; foreach (split (/\W+/)) { $prohibited{$_} = $. if !/^$/ && /$forbidden/o && !/$allowed/o && ! exists $prohibited{$_}; } # Performed *last*: the empty quadrigraph. $res =~ s/\@&t\@//g; print $out "$res\n"; } $out->close(); # If no forbidden words, we're done. return if ! %prohibited; # Locate the forbidden words in the last input file. # This is unsatisfying but... $exit_code = 1; if ($ARGV[$#ARGV] ne '-') { my $prohibited = '\b(' . join ('|', keys %prohibited) . ')\b'; my $file = new Autom4te::XFile ("< " . open_quote ($ARGV[$#ARGV])); while ($_ = $file->getline) { # Don't complain in comments. Well, until we have something # better, don't consider `#include' etc. to be comments. s/\#.*// unless /^\#(if|include|endif|ifdef|ifndef|define)\b/; # Complain once per word, but possibly several times per line. while (/$prohibited/) { my $word = $1; warn_forbidden ("$ARGV[$#ARGV]:$.", $word, %forbidden); delete $prohibited{$word}; # If we're done, exit. return if ! %prohibited; $prohibited = '\b(' . join ('|', keys %prohibited) . ')\b'; } } } warn_forbidden ("$output:$prohibited{$_}", $_, %forbidden) foreach (sort { $prohibited{$a} <=> $prohibited{$b} } keys %prohibited); } ## --------------------- ## ## Handling the traces. ## ## --------------------- ## # $M4_MACRO # trace_format_to_m4 ($FORMAT) # ---------------------------- # Convert a trace $FORMAT into a M4 trace processing macro's body. sub trace_format_to_m4 ($) { my ($format) = @_; my $underscore = $_; my %escape = (# File name. 'f' => '$1', # Line number. 'l' => '$2', # Depth. 'd' => '$3', # Name (also available as $0). 'n' => '$4', # Escaped dollar. '$' => '$'); my $res = ''; $_ = $format; while ($_) { # $n -> $(n + 4) if (s/^\$(\d+)//) { $res .= "\$" . ($1 + 4); } # $x, no separator given. elsif (s/^\$([fldn\$])//) { $res .= $escape{$1}; } # $.x or ${sep}x. elsif (s/^\$\{([^}]*)\}([@*%])// || s/^\$(.?)([@*%])//) { # $@, list of quoted effective arguments. if ($2 eq '@') { $res .= ']at_at([' . ($1 ? $1 : ',') . '], $@)['; } # $*, list of unquoted effective arguments. elsif ($2 eq '*') { $res .= ']at_star([' . ($1 ? $1 : ',') . '], $@)['; } # $%, list of flattened unquoted effective arguments. elsif ($2 eq '%') { $res .= ']at_percent([' . ($1 ? $1 : ':') . '], $@)['; } } elsif (/^(\$.)/) { error "invalid escape: $1"; } else { s/^([^\$]+)//; $res .= $1; } } $_ = $underscore; return '[[' . $res . ']]'; } # handle_traces($REQ, $OUTPUT, %TRACE) # ------------------------------------ # We use M4 itself to process the traces. But to avoid name clashes when # processing the traces, the builtins are disabled, and moved into `at_'. # Actually, all the low level processing macros are in `at_' (and `_at_'). # To avoid clashes between user macros and `at_' macros, the macros which # implement tracing are in `AT_'. # # Having $REQ is needed to neutralize the macros which have been traced, # but are not wanted now. sub handle_traces ($$%) { my ($req, $output, %trace) = @_; verb "formatting traces for `$output': " . join (', ', sort keys %trace); # Processing the traces. my $trace_m4 = new Autom4te::XFile ("> " . open_quote ("$tmp/traces.m4")); $_ = <<'EOF'; divert(-1) changequote([, ]) # _at_MODE(SEPARATOR, ELT1, ELT2...) # ---------------------------------- # List the elements, separating then with SEPARATOR. # MODE can be: # `at' -- the elements are enclosed in brackets. # `star' -- the elements are listed as are. # `percent' -- the elements are `flattened': spaces are singled out, # and no new line remains. define([_at_at], [at_ifelse([$#], [1], [], [$#], [2], [[[$2]]], [[[$2]][$1]$0([$1], at_shift(at_shift($@)))])]) define([_at_percent], [at_ifelse([$#], [1], [], [$#], [2], [at_flatten([$2])], [at_flatten([$2])[$1]$0([$1], at_shift(at_shift($@)))])]) define([_at_star], [at_ifelse([$#], [1], [], [$#], [2], [[$2]], [[$2][$1]$0([$1], at_shift(at_shift($@)))])]) # FLATTEN quotes its result. # Note that the second pattern is `newline, tab or space'. Don't lose # the tab! define([at_flatten], [at_patsubst(at_patsubst([[[$1]]], [\\\n]), [[\n\t ]+], [ ])]) define([at_args], [at_shift(at_shift(at_shift(at_shift(at_shift($@)))))]) define([at_at], [_$0([$1], at_args($@))]) define([at_percent], [_$0([$1], at_args($@))]) define([at_star], [_$0([$1], at_args($@))]) EOF s/^ //mg;s/\\t/\t/mg;s/\\n/\n/mg; print $trace_m4 $_; # If you trace `define', then on `define([m4_exit], defn([m4exit])' you # will produce # # AT_define([m4sugar.m4], [115], [1], [define], [m4_exit], <m4exit>) # # Since `<m4exit>' is not quoted, the outer m4, when processing # `trace.m4' will exit prematurely. Hence, move all the builtins to # the `at_' name space. print $trace_m4 "# Copy the builtins.\n"; map { print $trace_m4 "define([at_$_], defn([$_]))\n" } @m4_builtin; print $trace_m4 "\n"; print $trace_m4 "# Disable them.\n"; map { print $trace_m4 "at_undefine([$_])\n" } @m4_builtin; print $trace_m4 "\n"; # Neutralize traces: we don't want traces of cached requests (%REQUEST). print $trace_m4 "## -------------------------------------- ##\n", "## By default neutralize all the traces. ##\n", "## -------------------------------------- ##\n", "\n"; print $trace_m4 "at_define([AT_$_], [at_dnl])\n" foreach (sort keys %{$req->macro}); print $trace_m4 "\n"; # Implement traces for current requests (%TRACE). print $trace_m4 "## ------------------------- ##\n", "## Trace processing macros. ##\n", "## ------------------------- ##\n", "\n"; foreach (sort keys %trace) { # Trace request can be embed \n. (my $comment = "Trace $_:$trace{$_}") =~ s/^/\# /; print $trace_m4 "$comment\n"; print $trace_m4 "at_define([AT_$_],\n"; print $trace_m4 trace_format_to_m4 ($trace{$_}) . ")\n\n"; } print $trace_m4 "\n"; # Reenable output. print $trace_m4 "at_divert(0)at_dnl\n"; # Transform the traces from m4 into an m4 input file. # Typically, transform: # # | m4trace:configure.ac:3: -1- AC_SUBST([exec_prefix], [NONE]) # # into # # | AT_AC_SUBST([configure.ac], [3], [1], [AC_SUBST], [exec_prefix], [NONE]) # # Pay attention that the file name might include colons, if under DOS # for instance, so we don't use `[^:]+'. my $traces = new Autom4te::XFile ("< " . open_quote ($tcache . $req->id)); while ($_ = $traces->getline) { # Trace with arguments, as the example above. We don't try # to match the trailing parenthesis as it might be on a # separate line. s{^m4trace:(.+):(\d+): -(\d+)- ([^(]+)\((.*)$} {AT_$4([$1], [$2], [$3], [$4], $5}; # Traces without arguments, always on a single line. s{^m4trace:(.+):(\d+): -(\d+)- ([^)]*)\n$} {AT_$4([$1], [$2], [$3], [$4])\n}; print $trace_m4 "$_"; } $trace_m4->close; my $in = new Autom4te::XFile ("$m4 " . shell_quote ("$tmp/traces.m4") . " |"); my $out = new Autom4te::XFile ("> " . open_quote ($output)); # This is dubious: should we really transform the quadrigraphs in # traces? It might break balanced [ ] etc. in the output. The # consensus seems to be that traces are more useful this way. while ($_ = $in->getline) { # It makes no sense to try to transform __oline__. s/\@<:\@/[/g; s/\@:>\@/]/g; s/\@\{:\@/(/g; s/\@:\}\@/)/g; s/\@S\|\@/\$/g; s/\@%:\@/#/g; s/\@&t\@//g; print $out $_; } } # $BOOL # up_to_date ($REQ) # ----------------- # Are the cache files of $REQ up to date? # $REQ is `valid' if it corresponds to the request and exists, which # does not mean it is up to date. It is up to date if, in addition, # its files are younger than its dependencies. sub up_to_date ($) { my ($req) = @_; return 0 if ! $req->valid; my $tfile = $tcache . $req->id; my $ofile = $ocache . $req->id; # We can't answer properly if the traces are not computed since we # need to know what other files were included. Actually, if any of # the cache files is missing, we are not up to date. return 0 if ! -f $tfile || ! -f $ofile; # The youngest of the cache files must be older than the oldest of # the dependencies. my $tmtime = mtime ($tfile); my $omtime = mtime ($ofile); my ($file, $mtime) = ($tmtime < $omtime ? ($ofile, $omtime) : ($tfile, $tmtime)); # We depend at least upon the arguments. my @dep = @ARGV; # stdin is always out of date. if (grep { $_ eq '-' } @dep) { return 0 } # Files may include others. We can use traces since we just checked # if they are available. handle_traces ($req, "$tmp/dependencies", ('include' => '$1', 'm4_include' => '$1')); my $deps = new Autom4te::XFile ("< " . open_quote ("$tmp/dependencies")); while ($_ = $deps->getline) { chomp; my $file = find_file ("$_?", @include); # If a file which used to be included is no longer there, then # don't say it's missing (it might no longer be included). But # of course, that causes the output to be outdated (as if the # time stamp of that missing file was newer). return 0 if ! $file; push @dep, $file; } # If $FILE is younger than one of its dependencies, it is outdated. return up_to_date_p ($file, @dep); } ## ---------- ## ## Freezing. ## ## ---------- ## # freeze ($OUTPUT) # ---------------- sub freeze ($) { my ($output) = @_; # When processing the file with diversion disabled, there must be no # output but comments and empty lines. my $result = xqx ("$m4" . ' --fatal-warning' . join (' --include=', '', map { shell_quote ($_) } @include) . ' --define=divert' . " " . files_to_options (@ARGV) . ' </dev/null'); $result =~ s/#.*\n//g; $result =~ s/^\n//mg; fatal "freezing produced output:\n$result" if $result; # If freezing produces output, something went wrong: a bad `divert', # or an improper paren etc. xsystem ("$m4" . ' --fatal-warning' . join (' --include=', '', map { shell_quote ($_) } @include) . " --freeze-state=" . shell_quote ($output) . " " . files_to_options (@ARGV) . ' </dev/null'); } ## -------------- ## ## Main program. ## ## -------------- ## mktmpdir ('am4t'); load_configuration ($ENV{'AUTOM4TE_CFG'} || "$pkgdatadir/autom4te.cfg"); load_configuration ("$ENV{'HOME'}/.autom4te.cfg") if exists $ENV{'HOME'} && -f "$ENV{'HOME'}/.autom4te.cfg"; load_configuration (".autom4te.cfg") if -f ".autom4te.cfg"; parse_args; # Freezing does not involve the cache. if ($freeze) { freeze ($output); exit $exit_code; } # We need our cache directory. Don't fail with parallel creation. if (! -d "$cache") { mkdir "$cache", 0755 or -d "$cache" or fatal "cannot create $cache: $!"; } # Open the index for update, and lock it. autom4te handles several # files, but the index is the first and last file to be updated, so # locking it is sufficient. $icache_file = new Autom4te::XFile $icache, O_RDWR|O_CREAT; $icache_file->lock (LOCK_EX) if ($flock_implemented eq "yes"); # Read the cache index if available and older than autom4te itself. # If autom4te is younger, then some structures such as C4che might # have changed, which would corrupt its processing. Autom4te::C4che->load ($icache_file) if -f $icache && mtime ($icache) > mtime ($0); # Add the new trace requests. my $req = Autom4te::C4che->request ('input' => \@ARGV, 'path' => \@include, 'macro' => [keys %trace, @preselect]); # If $REQ's cache files are not up to date, or simply if the user # discarded them (-f), declare it invalid. $req->valid (0) if $force || ! up_to_date ($req); # We now know whether we can trust the Request object. Say it. verb "the trace request object is:\n" . $req->marshall; # We need to run M4 if (i) the user wants it (--force), (ii) $REQ is # invalid. handle_m4 ($req, keys %{$req->macro}) if $force || ! $req->valid; # Issue the warnings each time autom4te was run. my $separator = "\n" . ('-' x 25) . " END OF WARNING " . ('-' x 25) . "\n\n"; handle_traces ($req, "$tmp/warnings", ('_m4_warn' => "\$1::\$f:\$l::\$2::\$3$separator")); # Swallow excessive newlines. for (split (/\n*$separator\n*/o, contents ("$tmp/warnings"))) { # The message looks like: # | syntax::input.as:5::ouch # | ::input.as:4: baz is expanded from... # | input.as:2: bar is expanded from... # | input.as:3: foo is expanded from... # | input.as:5: the top level # In particular, m4_warn guarantees that either $stackdump is empty, or # it consists of lines where only the last line ends in "top level". my ($cat, $loc, $msg, $stacktrace) = split ('::', $_, 4); msg $cat, $loc, "warning: $msg", partial => ($stacktrace =~ /top level$/) + 0; for (split /\n/, $stacktrace) { my ($loc, $trace) = split (': ', $_, 2); msg $cat, $loc, $trace, partial => ($trace !~ /top level$/) + 0; } } # Now output... if (%trace) { # Always produce traces, since even if the output is young enough, # there is no guarantee that the traces use the same *format* # (e.g., `-t FOO:foo' and `-t FOO:bar' are both using the same M4 # traces, hence the M4 traces cache is usable, but its formatting # will yield different results). handle_traces ($req, $output, %trace); } else { # Actual M4 expansion, if the user wants it, or if $output is old # (STDOUT is pretty old). handle_output ($req, $output) if $force || mtime ($output) < mtime ($ocache . $req->id); } # If we ran up to here, the cache is valid. $req->valid (1); Autom4te::C4che->save ($icache_file); exit $exit_code; ### Setup "GNU" style for perl-mode and cperl-mode. ## Local Variables: ## perl-indent-level: 2 ## perl-continued-statement-offset: 2 ## perl-continued-brace-offset: 0 ## perl-brace-offset: 0 ## perl-brace-imaginary-offset: 0 ## perl-label-offset: -2 ## cperl-indent-level: 2 ## cperl-brace-offset: 0 ## cperl-continued-brace-offset: 0 ## cperl-label-offset: -2 ## cperl-extra-newline-before-brace: t ## cperl-merge-trailing-else: nil ## cperl-continued-statement-offset: 2 ## End: