下载地址:gnu-shtool安装包下载_开源镜像站-阿里云 (aliyun.com)
[root@pool-100-1-1-159 fun]# ll
total 104
-rwxr--r--. 1 root sharing 97 Mar 17 17:35 myfuncs
-rw-r--r--. 1 root root 97033 Mar 17 18:07 shtool-2.0.8.tar.gz
-rwxr--r--. 1 root sharing 91 Mar 17 17:41 test1.sh
[root@pool-100-1-1-159 fun]# tar -xvf shtool-2.0.8.tar.gz
shtool-2.0.8/AUTHORS
shtool-2.0.8/COPYING
shtool-2.0.8/ChangeLog
shtool-2.0.8/INSTALL
shtool-2.0.8/Makefile.in
shtool-2.0.8/NEWS
shtool-2.0.8/RATIONAL
shtool-2.0.8/README
shtool-2.0.8/THANKS
shtool-2.0.8/VERSION
shtool-2.0.8/configure
shtool-2.0.8/configure.ac
shtool-2.0.8/sh.arx
shtool-2.0.8/sh.common
shtool-2.0.8/sh.echo
shtool-2.0.8/sh.fixperm
shtool-2.0.8/sh.install
shtool-2.0.8/sh.mdate
shtool-2.0.8/sh.mkdir
shtool-2.0.8/sh.mkln
shtool-2.0.8/sh.mkshadow
shtool-2.0.8/sh.move
shtool-2.0.8/sh.path
shtool-2.0.8/sh.platform
shtool-2.0.8/sh.prop
shtool-2.0.8/sh.rotate
shtool-2.0.8/sh.scpp
shtool-2.0.8/sh.slo
shtool-2.0.8/sh.subst
shtool-2.0.8/sh.table
shtool-2.0.8/sh.tarball
shtool-2.0.8/sh.version
shtool-2.0.8/shtool.m4
shtool-2.0.8/shtool.pod
shtool-2.0.8/shtool.spec
shtool-2.0.8/shtoolize.in
shtool-2.0.8/shtoolize.pod
shtool-2.0.8/test.db
shtool-2.0.8/test.sh
[root@pool-100-1-1-159 fun]# ll
total 108
-rwxr--r--. 1 root sharing 97 Mar 17 17:35 myfuncs
drwxr-sr-x. 2 root sharing 4096 Mar 17 18:08 shtool-2.0.8
-rw-r--r--. 1 root root 97033 Mar 17 18:07 shtool-2.0.8.tar.gz
-rwxr--r--. 1 root sharing 91 Mar 17 17:41 test1.sh
[root@pool-100-1-1-159 fun]# cd shtool-2.0.8/
[root@pool-100-1-1-159 shtool-2.0.8]# ll
total 440
-rw-r--r--. 1 root root 606 Apr 3 2008 AUTHORS
-rw-r--r--. 1 root root 35156 Jul 18 2008 ChangeLog
-rwxr-xr-x. 1 root root 81344 Jul 18 2008 configure
-rw-r--r--. 1 root root 1923 Apr 3 2008 configure.ac
-rw-r--r--. 1 root root 15239 Apr 3 2008 COPYING
-rw-r--r--. 1 root root 1579 Apr 3 2008 INSTALL
-rw-r--r--. 1 root root 4687 Apr 3 2008 Makefile.in
-rw-r--r--. 1 root root 1597 Apr 3 2008 NEWS
-rw-r--r--. 1 root root 6645 Apr 3 2008 RATIONAL
-rw-r--r--. 1 root root 3217 Jul 18 2008 README
-rw-r--r--. 1 root root 4938 Apr 3 2008 sh.arx
-rw-r--r--. 1 root root 6104 Apr 3 2008 sh.common
-rw-r--r--. 1 root root 14835 Apr 3 2008 sh.echo
-rw-r--r--. 1 root root 3598 Apr 3 2008 sh.fixperm
-rw-r--r--. 1 root root 8619 Apr 3 2008 sh.install
-rw-r--r--. 1 root root 6555 Apr 3 2008 sh.mdate
-rw-r--r--. 1 root root 6146 Apr 3 2008 sh.mkdir
-rw-r--r--. 1 root root 6620 Jun 6 2008 sh.mkln
-rw-r--r--. 1 root root 5640 Apr 3 2008 sh.mkshadow
-rw-r--r--. 1 root root 5147 Apr 3 2008 sh.move
-rw-r--r--. 1 root root 6546 Apr 3 2008 sh.path
-rw-r--r--. 1 root root 30235 Apr 3 2008 sh.platform
-rw-r--r--. 1 root root 3064 Apr 3 2008 sh.prop
-rw-r--r--. 1 root root 19964 Apr 3 2008 sh.rotate
-rw-r--r--. 1 root root 11390 Apr 3 2008 sh.scpp
-rw-r--r--. 1 root root 7217 Apr 3 2008 sh.slo
-rw-r--r--. 1 root root 8538 Apr 3 2008 sh.subst
-rw-r--r--. 1 root root 3842 Apr 3 2008 sh.table
-rw-r--r--. 1 root root 8485 Apr 3 2008 sh.tarball
-rw-r--r--. 1 root root 15512 Apr 3 2008 shtoolize.in
-rw-r--r--. 1 root root 3841 Apr 3 2008 shtoolize.pod
-rw-r--r--. 1 root root 2095 Apr 3 2008 shtool.m4
-rw-r--r--. 1 root root 5551 Apr 3 2008 shtool.pod
-rw-r--r--. 1 root root 2715 Jul 18 2008 shtool.spec
-rw-r--r--. 1 root root 13845 Apr 3 2008 sh.version
-rw-r--r--. 1 root root 4760 Apr 3 2008 test.db
-rw-r--r--. 1 root root 2327 Apr 3 2008 test.sh
-rw-r--r--. 1 root root 2184 Jun 6 2008 THANKS
-rw-r--r--. 1 root root 173 Jul 18 2008 VERSION
[root@pool-100-1-1-159 shtool-2.0.8]#
[root@pool-100-1-1-159 shtool-2.0.8]#
[root@pool-100-1-1-159 shtool-2.0.8]# ./configure
Configuring GNU shtool (Portable Shell Tool), version 2.0.8 (18-Jul-2008)
Copyright (c) 1994-2008 Ralf S. Engelschall
checking whether make sets $(MAKE)... yes
checking for perl interpreter... /usr/bin/perl
checking for pod2man conversion tool... /usr/bin/pod2man
configure: creating ./config.status
config.status: creating Makefile
config.status: creating shtoolize
config.status: executing adjustment commands
[root@pool-100-1-1-159 shtool-2.0.8]# make
building program shtool
./shtoolize -o shtool all
Use of assignment to $[ is deprecated at ./shtoolize line 60.
Generating shtool...(echo 11808/12742 bytes)...(mdate 3695/4690 bytes)...(table 1818/2753 bytes)...(prop 1109/2038 bytes)...(move 2685/3614 bytes)...(install 4567/5495 bytes)...(mkdir 2904/3821 bytes)...(mkln 4429/5361 bytes)...(mkshadow 3260/4193 bytes)...(fixperm 1471/2403 bytes)...(rotate 13425/14331 bytes)...(tarball 5297/6214 bytes)...(subst 5255/6180 bytes)...(platform 21739/22662 bytes)...(arx 2401/3312 bytes)...(slo 4139/5066 bytes)...(scpp 6295/7206 bytes)...(version 10234/11160 bytes)...(path 4041/4952 bytes)
building manpage shtoolize.1
building manpage shtool.1
building manpage shtool-echo.1
building manpage shtool-mdate.1
shtool-mdate.tmp around line 222: You forgot a '=back' before '=head1'
POD document had syntax errors at /usr/bin/pod2man line 69.
building manpage shtool-table.1
building manpage shtool-prop.1
building manpage shtool-move.1
building manpage shtool-install.1
building manpage shtool-mkdir.1
shtool-mkdir.tmp around line 186: You forgot a '=back' before '=head1'
POD document had syntax errors at /usr/bin/pod2man line 69.
building manpage shtool-mkln.1
building manpage shtool-mkshadow.1
shtool-mkshadow.tmp around line 191: You forgot a '=back' before '=head1'
POD document had syntax errors at /usr/bin/pod2man line 69.
building manpage shtool-fixperm.1
building manpage shtool-rotate.1
building manpage shtool-tarball.1
building manpage shtool-subst.1
building manpage shtool-platform.1
building manpage shtool-arx.1
building manpage shtool-slo.1
building manpage shtool-scpp.1
building manpage shtool-version.1
building manpage shtool-path.1
[root@pool-100-1-1-159 shtool-2.0.8]# make test
Running test suite:
echo...........ok
mdate..........ok
table..........ok
prop...........ok
move...........ok
install........ok
mkdir..........ok
mkln...........ok
mkshadow.......ok
fixperm........ok
rotate.........ok
tarball........ok
subst..........ok
platform.......ok
arx............ok
slo............ok
scpp...........ok
version........ok
path...........ok
OK: passed: 19/19
[root@pool-100-1-1-159 shtool-2.0.8]# make install
./shtool mkdir -f -p -m 755 /usr/local
./shtool mkdir -f -p -m 755 /usr/local/bin
./shtool mkdir -f -p -m 755 /usr/local/share/man/man1
./shtool mkdir -f -p -m 755 /usr/local/share/aclocal
./shtool mkdir -f -p -m 755 /usr/local/share/shtool
./shtool install -c -m 755 shtool /usr/local/bin/shtool
./shtool install -c -m 755 shtoolize /usr/local/bin/shtoolize
./shtool install -c -m 644 shtoolize.1 /usr/local/share/man/man1/shtoolize.1
./shtool install -c -m 644 shtool.1 /usr/local/share/man/man1/shtool.1
./shtool install -c -m 644 shtool-echo.1 /usr/local/share/man/man1/shtool-echo.1
./shtool install -c -m 644 shtool-mdate.1 /usr/local/share/man/man1/shtool-mdate.1
./shtool install -c -m 644 shtool-table.1 /usr/local/share/man/man1/shtool-table.1
./shtool install -c -m 644 shtool-prop.1 /usr/local/share/man/man1/shtool-prop.1
./shtool install -c -m 644 shtool-move.1 /usr/local/share/man/man1/shtool-move.1
./shtool install -c -m 644 shtool-install.1 /usr/local/share/man/man1/shtool-install.1
./shtool install -c -m 644 shtool-mkdir.1 /usr/local/share/man/man1/shtool-mkdir.1
./shtool install -c -m 644 shtool-mkln.1 /usr/local/share/man/man1/shtool-mkln.1
./shtool install -c -m 644 shtool-mkshadow.1 /usr/local/share/man/man1/shtool-mkshadow.1
./shtool install -c -m 644 shtool-fixperm.1 /usr/local/share/man/man1/shtool-fixperm.1
./shtool install -c -m 644 shtool-rotate.1 /usr/local/share/man/man1/shtool-rotate.1
./shtool install -c -m 644 shtool-tarball.1 /usr/local/share/man/man1/shtool-tarball.1
./shtool install -c -m 644 shtool-subst.1 /usr/local/share/man/man1/shtool-subst.1
./shtool install -c -m 644 shtool-platform.1 /usr/local/share/man/man1/shtool-platform.1
./shtool install -c -m 644 shtool-arx.1 /usr/local/share/man/man1/shtool-arx.1
./shtool install -c -m 644 shtool-slo.1 /usr/local/share/man/man1/shtool-slo.1
./shtool install -c -m 644 shtool-scpp.1 /usr/local/share/man/man1/shtool-scpp.1
./shtool install -c -m 644 shtool-version.1 /usr/local/share/man/man1/shtool-version.1
./shtool install -c -m 644 shtool-path.1 /usr/local/share/man/man1/shtool-path.1
./shtool install -c -m 644 shtool.m4 /usr/local/share/aclocal/shtool.m4
./shtool install -c -m 644 sh.common /usr/local/share/shtool/sh.common
./shtool install -c -m 644 sh.echo /usr/local/share/shtool/sh.echo
./shtool install -c -m 644 sh.mdate /usr/local/share/shtool/sh.mdate
./shtool install -c -m 644 sh.table /usr/local/share/shtool/sh.table
./shtool install -c -m 644 sh.prop /usr/local/share/shtool/sh.prop
./shtool install -c -m 644 sh.move /usr/local/share/shtool/sh.move
./shtool install -c -m 644 sh.install /usr/local/share/shtool/sh.install
./shtool install -c -m 644 sh.mkdir /usr/local/share/shtool/sh.mkdir
./shtool install -c -m 644 sh.mkln /usr/local/share/shtool/sh.mkln
./shtool install -c -m 644 sh.mkshadow /usr/local/share/shtool/sh.mkshadow
./shtool install -c -m 644 sh.fixperm /usr/local/share/shtool/sh.fixperm
./shtool install -c -m 644 sh.rotate /usr/local/share/shtool/sh.rotate
./shtool install -c -m 644 sh.tarball /usr/local/share/shtool/sh.tarball
./shtool install -c -m 644 sh.subst /usr/local/share/shtool/sh.subst
./shtool install -c -m 644 sh.platform /usr/local/share/shtool/sh.platform
./shtool install -c -m 644 sh.arx /usr/local/share/shtool/sh.arx
./shtool install -c -m 644 sh.slo /usr/local/share/shtool/sh.slo
./shtool install -c -m 644 sh.scpp /usr/local/share/shtool/sh.scpp
./shtool install -c -m 644 sh.version /usr/local/share/shtool/sh.version
./shtool install -c -m 644 sh.path /usr/local/share/shtool/sh.path
[root@pool-100-1-1-159 shtool-2.0.8]#
[root@pool-100-1-1-159 shtool-2.0.8]# shtool -v
GNU shtool 2.0.8 (18-Jul-2008)