X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=build%2Fshtool;h=b3b27c6eaddfc09542f73dd51dfd4ce5794b59b1;hb=f914c0545ce6487316ca9c097447e0e580b4c0df;hp=699d0194b89d0ed841841a0749df0266d2eff972;hpb=28a22d67856fc0cb4dafea2d9bc038411c363647;p=openldap diff --git a/build/shtool b/build/shtool index 699d0194b8..b3b27c6ead 100755 --- a/build/shtool +++ b/build/shtool @@ -10,7 +10,7 @@ ## See http://www.gnu.org/software/shtool/ for more information. ## See ftp://ftp.gnu.org/gnu/shtool/ for latest version. ## -## Version: 1.6.0 (01-Feb-2002) +## Version: 1.6.1 (12-Jul-2002) ## Contents: 6/19 available modules ## @@ -71,7 +71,7 @@ if [ $# -eq 0 ]; then exit 1 fi if [ ".$1" = ".-h" -o ".$1" = ".--help" ]; then - echo "This is GNU shtool, version 1.6.0 (01-Feb-2002)" + echo "This is GNU shtool, version 1.6.1 (12-Jul-2002)" echo "Copyright (c) 1994-2002 Ralf S. Engelschall " echo "Report bugs to " echo '' @@ -108,7 +108,7 @@ if [ ".$1" = ".-h" -o ".$1" = ".--help" ]; then echo ' mkshadow [-v|--verbose] [-t|--trace] [-a|--all] ' echo ' fixperm [-v|--verbose] [-t|--trace] [ ...]' echo ' rotate [-v|--verbose] [-t|--trace] [-f|--force] [-n|--num-files' - echo ' ] [-s|--min-size ] [-c|--copy] [-r|--remove]' + echo ' ] [-s|--size ] [-c|--copy] [-r|--remove]' echo ' [-a|--archive-dir ] [-z|--compress [:]]' echo ' [-b|--background] [-d|--delay] [-p|--pad ] [-o|--owner' echo ' ] [-g|--group ] [-m|--mode ] [-M|--migrate' @@ -135,7 +135,7 @@ if [ ".$1" = ".-h" -o ".$1" = ".--help" ]; then exit 0 fi if [ ".$1" = ".-v" -o ".$1" = ."--version" ]; then - echo "GNU shtool 1.6.0 (01-Feb-2002)" + echo "GNU shtool 1.6.1 (12-Jul-2002)" exit 0 fi if [ ".$1" = ".-r" -o ".$1" = ."--recreate" ]; then @@ -589,13 +589,13 @@ echo ) if [ ".$opt_e" = .yes -a ".`echo $text | egrep '%d'`" != . ]; then if [ ".$domainname" = . ]; then if [ -f /etc/resolv.conf ]; then - domainname="`egrep '^[ ]*domain' /etc/resolv.conf | head -1 |\ + domainname="`egrep '^[ ]*domain' /etc/resolv.conf | sed -e 'q' |\ sed -e 's/.*domain//' \ -e 's/^[ ]*//' -e 's/^ *//' -e 's/^ *//' \ -e 's/^\.//' -e 's/^/./' |\ awk '{ printf("%s", $1); }'`" if [ ".$domainname" = . ]; then - domainname="`egrep '^[ ]*search' /etc/resolv.conf | head -1 |\ + domainname="`egrep '^[ ]*search' /etc/resolv.conf | sed -e 'q' |\ sed -e 's/.*search//' \ -e 's/^[ ]*//' -e 's/^ *//' -e 's/^ *//' \ -e 's/ .*//' -e 's/ .*//' \ @@ -1167,7 +1167,7 @@ subst ) rm -f $file.new skip=yes else - (diff -u1 $file $file.new >$tmpfile) 2>/dev/null + (diff -U1 $file $file.new >$tmpfile) 2>/dev/null if [ ".`cat $tmpfile`" = . ]; then (diff -C1 $file $file.new >$tmpfile) 2>/dev/null if [ ".`cat $tmpfile`" = . ]; then