diff -r fb8c5a66dbe8 -r df671fa2562a lib/Tools/fixseq --- a/lib/Tools/fixseq Fri Sep 01 17:48:31 2000 +0200 +++ b/lib/Tools/fixseq Fri Sep 01 17:50:36 2000 +0200 @@ -1,13 +1,15 @@ #!/bin/bash # # $Id$ +# Author: Markus Wenzel, TU Muenchen +# License: GPL (GNU GENERAL PUBLIC LICENSE) # # DESCRIPTION: fix references to obsolete Pure/Sequence structure ## diagnostics -PRG=$(basename $0) +PRG=$(basename "$0") function usage() { @@ -25,9 +27,9 @@ ## process command line -[ $# -eq 0 -o "$1" = "-?" ] && usage +[ "$#" -eq 0 -o "$1" = "-?" ] && usage -SPECS="$@"; shift $# +SPECS="$@"; shift "$#" ## main @@ -35,4 +37,4 @@ #set by configure AUTO_PERL=perl -find $SPECS -name \*.ML -print | xargs $AUTO_PERL -w $ISABELLE_HOME/lib/scripts/fixseq.pl +find $SPECS -name \*.ML -print | xargs "$AUTO_PERL" -w "$ISABELLE_HOME/lib/scripts/fixseq.pl"