===========================================================
                                      .___ __  __   
          _________________  __ __  __| _/|__|/  |_ 
         / ___\_` __ \__  \ |  |  \/ __ | | \\_  __\
        / /_/  >  | \// __ \|  |  / /_/ | |  ||  |  
        \___  /|__|  (____  /____/\____ | |__||__|  
       /_____/            \/           \/           
              grep rough audit - static analysis tool
                  v2.8 written by @Wireghoul
=================================[justanotherhacker.com]===
abs-guide-10/dereference.sh-10-
abs-guide-10/dereference.sh:11:     x=`eval "expr \"$y\" "`
abs-guide-10/dereference.sh-12-     echo $1=$x
##############################################
abs-guide-10/archiveweblogs.sh-36-# Are we root?
abs-guide-10/archiveweblogs.sh:37:USER=`$ID -u`
abs-guide-10/archiveweblogs.sh-38-if [ "X$USER" != "X0" ]; then
##############################################
abs-guide-10/archiveweblogs.sh-53-    if [ -w $MYFILE ]; then
abs-guide-10/archiveweblogs.sh:54:      DTS=`$LS -lgo --time-style=+%Y%m%d $MYFILE | $COL -t | $CUT -d ' ' -f7`
abs-guide-10/archiveweblogs.sh-55-      $MV $MYFILE $BKP_DIR/$logfile.$DTS
##############################################
abs-guide-10/iscan.sh-35-# Generate a randomish base port.
abs-guide-10/iscan.sh:36:RP=`expr $$ % $RAND1 + $RAND2`
abs-guide-10/iscan.sh-37-
##############################################
abs-guide-10/iscan.sh-52-  kill -HUP $PROC
abs-guide-10/iscan.sh:53:  RP=`expr ${RP} + 1`
abs-guide-10/iscan.sh-54-  shift
##############################################
abs-guide-10/online.sh-33-  #  Necessary, since newer kernels generate many log messages at log on.
abs-guide-10/online.sh:34:  search=`grep $KEYWORD $TEMPFILE`
abs-guide-10/online.sh-35-  #  Checks for presence of the "IP address" phrase,
##############################################
abs-guide-10/music.sh-18-{                   #+ 8000 fps / 440 = 16 :: A = 16 bytes per second)
abs-guide-10/music.sh:19:  for t in `seq 0 $duration`
abs-guide-10/music.sh-20-  do
##############################################
abs-guide-10/file-info.sh-23-  ls -l $file | awk '{ print $8 "         file size: " $5 }'  # Print 2 fields.
abs-guide-10/file-info.sh:24:  whatis `basename $file`   # File info.
abs-guide-10/file-info.sh-25-  # Note that the whatis database needs to have been set up for this to work.
##############################################
abs-guide-10/ex24.sh-11-then
abs-guide-10/ex24.sh:12:   echo "Usage: `basename $0` phone# text-file"
abs-guide-10/ex24.sh-13-   exit $E_BADARGS
##############################################
abs-guide-10/usb.sh-80-        #
abs-guide-10/usb.sh:81:        if grep -q `basename $scsiDev`1 /proc/partitions; then
abs-guide-10/usb.sh-82-            part="$scsiDev""1"
##############################################
abs-guide-10/usb.sh-96-        #
abs-guide-10/usb.sh:97:        prodid=`$DEVLABEL printid -d $part`
abs-guide-10/usb.sh-98-        if ! grep -q $prodid $DEVLABELCONFIG; then
##############################################
abs-guide-10/usb.sh-121-        #
abs-guide-10/usb.sh:122:        mkdir -p `dirname $REMOVER`
abs-guide-10/usb.sh-123-        ln -s $IAM $REMOVER
##############################################
abs-guide-10/q-function.sh-35-  
abs-guide-10/q-function.sh:36:  t0=`expr $n - ${Q[n1]}`  # n - Q[n-1]
abs-guide-10/q-function.sh:37:  t1=`expr $n - ${Q[n2]}`  # n - Q[n-2]
abs-guide-10/q-function.sh-38-  
##############################################
abs-guide-10/q-function.sh-41-
abs-guide-10/q-function.sh:42:Q[n]=`expr $T0 + $T1`      # Q[n - Q[n-1]] + Q[n - Q[n-2]]
abs-guide-10/q-function.sh-43-echo -n "${Q[n]} "
abs-guide-10/q-function.sh-44-
abs-guide-10/q-function.sh:45:if [ `expr $n % $LINEWIDTH` -eq 0 ]    # Format output.
abs-guide-10/q-function.sh-46-then   #      ^ modulo
##############################################
abs-guide-10/ex17.sh-10-# Adds ./ for current directory
abs-guide-10/ex17.sh:11:echo "The name of this script is \"`basename $0`\"."
abs-guide-10/ex17.sh-12-# Strips out path name info (see 'basename')
##############################################
abs-guide-10/line-number.sh-9-
abs-guide-10/line-number.sh:10:nl `basename $0`
abs-guide-10/line-number.sh-11-
##############################################
abs-guide-10/line-number.sh-13-
abs-guide-10/line-number.sh:14:cat -n `basename $0`
abs-guide-10/line-number.sh-15-# The difference is that 'cat -n' numbers the blank lines.
##############################################
abs-guide-10/hypotenuse.sh-9-then
abs-guide-10/hypotenuse.sh:10:  echo "Usage: `basename $0` side_1 side_2"
abs-guide-10/hypotenuse.sh-11-  exit $E_BADARGS
##############################################
abs-guide-10/ascii2.sh-37-while [ $IDX -le 127 ] && CHR="${ABR[$IDX]}"
abs-guide-10/ascii2.sh:38:   do ((${#CHR}))&& FM2='%-3s'|| FM2=`printf '\\\\%o  ' $IDX`
abs-guide-10/ascii2.sh-39-      printf "$FM1 $FM2" "$IDX" $CHR; (( (IDX+=1)%8))||echo '|'
##############################################
abs-guide-10/multiple-processes.sh-106-then
abs-guide-10/multiple-processes.sh:107:  echo "Usage: `basename $0` number_of_processes [passed params]"
abs-guide-10/multiple-processes.sh-108-  exit $E_BADARGS
##############################################
abs-guide-10/ex2.sh-43-#    ""      ) lines=50;;
abs-guide-10/ex2.sh:44:#    *[!0-9]*) echo "Usage: `basename $0` lines-to-cleanup";
abs-guide-10/ex2.sh-45-#     exit $E_WRONGARGS;;
##############################################
abs-guide-10/wf.sh-12-then
abs-guide-10/wf.sh:13:  echo "Usage: `basename $0` filename"
abs-guide-10/wf.sh-14-  exit $E_BADARGS
##############################################
abs-guide-10/lowercase.sh-11-do
abs-guide-10/lowercase.sh:12:   fname=`basename $filename`
abs-guide-10/lowercase.sh:13:   n=`echo $fname | tr A-Z a-z`  # Change name to lowercase.
abs-guide-10/lowercase.sh-14-   if [ "$fname" != "$n" ]       # Rename only files not already lowercase.
##############################################
abs-guide-10/lowercase.sh-32-                     # since "*" won't return any file containing "/".
abs-guide-10/lowercase.sh:33:do n=`echo "$filename/" | tr '[:upper:]' '[:lower:]'`
abs-guide-10/lowercase.sh-34-#                             POSIX char set notation.
##############################################
abs-guide-10/col-totaler2.sh-11-then
abs-guide-10/col-totaler2.sh:12:   echo "Usage: `basename $0` filename column-number"
abs-guide-10/col-totaler2.sh-13-   exit $E_WRONGARGS
##############################################
abs-guide-10/twodim.sh-20-do     # Use different symbols if you like.
abs-guide-10/twodim.sh:21:  local row=`expr $rc / $Columns`
abs-guide-10/twodim.sh:22:  local column=`expr $rc % $Rows`
abs-guide-10/twodim.sh-23-  let "index = $row * $Rows + $column"
##############################################
abs-guide-10/ex69.sh-9-then
abs-guide-10/ex69.sh:10:  echo "Usage: `basename $0` filename"
abs-guide-10/ex69.sh-11-  exit $E_BADARGS
##############################################
abs-guide-10/ex7.sh-27-echo "path_name, stripped of prefixes = $t"
abs-guide-10/ex7.sh:28:# Same effect as   t=`basename $path_name` in this particular case.
abs-guide-10/ex7.sh-29-#  t=${path_name%/}; t=${t##*/}   is a more general solution,
abs-guide-10/ex7.sh-30-#+ but still fails sometimes.
abs-guide-10/ex7.sh:31:#  If $path_name ends with a newline, then `basename $path_name` will not work,
abs-guide-10/ex7.sh-32-#+ but the above expression will.
##############################################
abs-guide-10/ex7.sh-35-t=${path_name%/*.*}
abs-guide-10/ex7.sh:36:# Same effect as   t=`dirname $path_name`
abs-guide-10/ex7.sh-37-echo "path_name, stripped of suffixes = $t"
##############################################
abs-guide-10/rfe.sh-14-  0|1)             # The vertical bar means "or" in this context.
abs-guide-10/rfe.sh:15:  echo "Usage: `basename $0` old_file_suffix new_file_suffix"
abs-guide-10/rfe.sh-16-  exit $E_BADARGS  # If 0 or 1 arg, then bail out.
##############################################
abs-guide-10/script-detector.sh-8-do
abs-guide-10/script-detector.sh:9:  if [[ `head -c$TESTCHARS "$file"` = "$SHABANG" ]]
abs-guide-10/script-detector.sh-10-  #      head -c2                      #!
##############################################
abs-guide-10/ex42.sh-10-then
abs-guide-10/ex42.sh:11:  echo "Usage: `basename $0` directory-to-copy-to"
abs-guide-10/ex42.sh-12-  exit $E_NOARGS
##############################################
abs-guide-10/ex61.sh-16-then
abs-guide-10/ex61.sh:17:  echo "Usage: `basename $0` number-to-convert"
abs-guide-10/ex61.sh-18-  exit $E_ARG_ERR
##############################################
abs-guide-10/array-function.sh-8-  local passed_array   # Local variable!
abs-guide-10/array-function.sh:9:  passed_array=( `echo "$1"` )
abs-guide-10/array-function.sh-10-  echo "${passed_array[@]}"
##############################################
abs-guide-10/array-function.sh-24-# **********************************
abs-guide-10/array-function.sh:25:argument=`echo ${original_array[@]}`
abs-guide-10/array-function.sh-26-# **********************************
##############################################
abs-guide-10/array-function.sh-34-# *****************************************
abs-guide-10/array-function.sh:35:returned_array=( `Pass_Array "$argument"` )
abs-guide-10/array-function.sh-36-# *****************************************
##############################################
abs-guide-10/de-rpm.sh-3-
abs-guide-10/de-rpm.sh:4:: ${1?"Usage: `basename $0` target-file"}
abs-guide-10/de-rpm.sh-5-# Must specify 'rpm' archive name as an argument.
##############################################
abs-guide-10/rn.sh-15-then
abs-guide-10/rn.sh:16:  echo "Usage: `basename $0` old-pattern new-pattern"
abs-guide-10/rn.sh-17-  # As in "rn gif jpg", which renames all gif files in working directory to jpg.
##############################################
abs-guide-10/rn.sh-27-   then
abs-guide-10/rn.sh:28:     fname=`basename $filename`            # Strip off path.
abs-guide-10/rn.sh:29:     n=`echo $fname | sed -e "s/$1/$2/"`   # Substitute new for old in filename.
abs-guide-10/rn.sh-30-     mv $fname $n                          # Rename.
##############################################
abs-guide-10/file-integrity.sh-59-
abs-guide-10/file-integrity.sh:60:        elif [ "`basename ${filename[n]}`" != "$dbfile" ]
abs-guide-10/file-integrity.sh-61-               #  Skip over checksum database file,
##############################################
abs-guide-10/letter-count2.sh-35-shift                      # Letters specified.
abs-guide-10/letter-count2.sh:36:for letter in `echo $@`    # For each one . . .
abs-guide-10/letter-count2.sh-37-  do
##############################################
abs-guide-10/letter-count2.sh-40-  # Pass as parameter to awk script below.
abs-guide-10/letter-count2.sh:41:  count_case=`expr $count_case + 1`
abs-guide-10/letter-count2.sh-42-done
##############################################
abs-guide-10/ex53.sh-19-
abs-guide-10/ex53.sh:20:for a in `seq $COUNT`  # or   for a in $( seq $COUNT )
abs-guide-10/ex53.sh-21-do
##############################################
abs-guide-10/ex53.sh-29-
abs-guide-10/ex53.sh:30:for a in `seq $BEGIN $END`
abs-guide-10/ex53.sh-31-#  Giving "seq" two arguments starts the count at the first one,
##############################################
abs-guide-10/ex53.sh-42-
abs-guide-10/ex53.sh:43:for a in `seq $BEGIN $INTERVAL $END`
abs-guide-10/ex53.sh-44-#  Giving "seq" three arguments starts the count at the first one,
##############################################
abs-guide-10/ex4.sh-12-then
abs-guide-10/ex4.sh:13:  echo "Usage: `basename $0` old-pattern new-pattern filename"
abs-guide-10/ex4.sh-14-  exit $E_BADARGS
##############################################
abs-guide-10/ex39.sh-15-then
abs-guide-10/ex39.sh:16:  echo "Usage: `basename $0` find-string"
abs-guide-10/ex39.sh-17-  exit $E_NOPARAMS
##############################################
abs-guide-10/test-execution-time.sh-17-do
abs-guide-10/test-execution-time.sh:18:  result=`expr "$i%2"`
abs-guide-10/test-execution-time.sh-19-done
##############################################
abs-guide-10/soundex.sh-24-then
abs-guide-10/soundex.sh:25:  echo "Usage: `basename $0` name"
abs-guide-10/soundex.sh-26-  exit $E_WRONGARGS
##############################################
abs-guide-10/soundex.sh-77-prefix0=${name:$char_pos:1}
abs-guide-10/soundex.sh:78:prefix=`echo $prefix0 | tr a-z A-Z`
abs-guide-10/soundex.sh-79-                               # Uppercase 1st letter of soundex.
##############################################
abs-guide-10/soundex.sh-92-
abs-guide-10/soundex.sh:93:char1=`echo $prefix | tr A-Z a-z`    # First letter of name, lowercased.
abs-guide-10/soundex.sh-94-
##############################################
abs-guide-10/ex72.sh-14-then
abs-guide-10/ex72.sh:15:  echo "Usage: `basename $0` Filename-to-upload"
abs-guide-10/ex72.sh-16-  exit $E_ARGERROR
##############################################
abs-guide-10/ex72.sh-19-
abs-guide-10/ex72.sh:20:Filename=`basename $1`           # Strips pathname out of file name.
abs-guide-10/ex72.sh-21-
##############################################
abs-guide-10/manview.sh-11-then
abs-guide-10/manview.sh:12:  echo "Usage: `basename $0` filename"
abs-guide-10/manview.sh-13-  exit $E_WRONGARGS
##############################################
abs-guide-10/ex47.sh-33-
abs-guide-10/ex47.sh:34:Msg=`printf "%s %s \n" $Message1 $Message2`
abs-guide-10/ex47.sh-35-echo $Msg; echo $Msg
##############################################
abs-guide-10/wf2.sh-15-then
abs-guide-10/wf2.sh:16:  echo "Usage: `basename $0` filename"
abs-guide-10/wf2.sh-17-  exit $E_BADARGS
##############################################
abs-guide-10/gcd.sh-25-then
abs-guide-10/gcd.sh:26:  echo "Usage: `basename $0` first-number second-number"
abs-guide-10/gcd.sh-27-  exit $E_BADARGS
##############################################
abs-guide-10/for-loopcmd.sh-6-
abs-guide-10/for-loopcmd.sh:7:for number in `echo $NUMBERS`  # for number in 9 7 3 8 37.53
abs-guide-10/for-loopcmd.sh-8-do
##############################################
abs-guide-10/ex57.sh-6-do
abs-guide-10/ex57.sh:7:  badname=`echo "$filename" | sed -n /[\+\{\;\"\\\=\?~\(\)\<\>\&\*\|\$]/p`
abs-guide-10/ex57.sh:8:# badname=`echo "$filename" | sed -n '/[+{;"\=?~()&lt;&gt;&*|$]/p'`  also works.
abs-guide-10/ex57.sh-9-# Deletes files containing these nasties:     + { ; " \ = ? ~ ( ) < > & * | $
##############################################
abs-guide-10/grp.sh-7-then
abs-guide-10/grp.sh:8:  echo "Usage: `basename $0` pattern"
abs-guide-10/grp.sh-9-  exit $E_BADARGS
##############################################
abs-guide-10/wstrings.sh-16-then
abs-guide-10/wstrings.sh:17:  echo "Usage: `basename $0` filename"
abs-guide-10/wstrings.sh-18-  exit $E_BADARGS
##############################################
abs-guide-10/mail-format.sh-13-then
abs-guide-10/mail-format.sh:14:  echo "Usage: `basename $0` filename"
abs-guide-10/mail-format.sh-15-  exit $E_BADARGS
##############################################
abs-guide-10/self-mailer.sh-14-# ============================================================================
abs-guide-10/self-mailer.sh:15:  cat $0 | mail -s "Script \"`basename $0`\" has mailed itself to you." "$adr"
abs-guide-10/self-mailer.sh-16-# ============================================================================
##############################################
abs-guide-10/self-mailer.sh-25-
abs-guide-10/self-mailer.sh:26:echo "At `date`, script \"`basename $0`\" mailed to "$adr"."
abs-guide-10/self-mailer.sh-27-
##############################################
abs-guide-10/file-comparison.sh-9-then
abs-guide-10/file-comparison.sh:10:  echo "Usage: `basename $0` file1 file2"
abs-guide-10/file-comparison.sh-11-  exit $E_BADARGS
##############################################
abs-guide-10/base.sh-19-NOARGS=85
abs-guide-10/base.sh:20:PN=`basename "$0"`			       # Program name
abs-guide-10/base.sh:21:VER=`echo '$Revision: 1.2 $' | cut -d' ' -f2`  # ==> VER=1.2
abs-guide-10/base.sh-22-
##############################################
abs-guide-10/base.sh-58-	# Remove prefix, convert hex digits to uppercase (bc needs this).
abs-guide-10/base.sh:59:	number=`echo "$i" | sed -e 's:^0[bBxX]::' | tr '[a-f]' '[A-F]'`
abs-guide-10/base.sh-60-	# ==> Uses ":" as sed separator, rather than "/".
##############################################
abs-guide-10/base.sh-62-	# Convert number to decimal
abs-guide-10/base.sh:63:	dec=`echo "ibase=$ibase; $number" | bc`  # ==> 'bc' is calculator utility.
abs-guide-10/base.sh-64-	case "$dec" in
##############################################
abs-guide-10/ex35.sh-4-
abs-guide-10/ex35.sh:5:echo "Basename of /home/bozo/daily-journal.txt = `basename $address`"
abs-guide-10/ex35.sh:6:echo "Dirname of /home/bozo/daily-journal.txt = `dirname $address`"
abs-guide-10/ex35.sh-7-echo
##############################################
abs-guide-10/ex49.sh-7-then
abs-guide-10/ex49.sh:8:  echo "Usage: `basename $0` filename"
abs-guide-10/ex49.sh-9-  exit $E_BADARGS
##############################################
abs-guide-10/col-totaler3.sh-13-then
abs-guide-10/col-totaler3.sh:14:   echo "Usage: `basename $0` filename column-number"
abs-guide-10/col-totaler3.sh-15-   exit $E_WRONGARGS
##############################################
abs-guide-10/ramdisk.sh-25-then
abs-guide-10/ramdisk.sh:26:  echo "Must be root to run \"`basename $0`\"."
abs-guide-10/ramdisk.sh-27-  exit $E_NON_ROOT_USER
##############################################
abs-guide-10/days-between.sh-31-{
abs-guide-10/days-between.sh:32:  echo "Usage: `basename $0` [M]M/[D]D/YYYY [M]M/[D]D/YYYY"
abs-guide-10/days-between.sh-33-  echo "       (date must be after 1/3/1600)"
##############################################
abs-guide-10/days-between.sh-42-  day=${dm#*/}
abs-guide-10/days-between.sh:43:  let "year = `basename $1`"  # Not a filename, but works just the same.
abs-guide-10/days-between.sh-44-}  
##############################################
abs-guide-10/days-between.sh-123-
abs-guide-10/days-between.sh:124:let "date1 = `day_index $day $month $year`"
abs-guide-10/days-between.sh-125-
##############################################
abs-guide-10/multiplication.sh-18-mult1=15383; mult2=25211
abs-guide-10/multiplication.sh:19:val1=`multiply $mult1 $mult2`
abs-guide-10/multiplication.sh-20-# Assigns stdout (echo) of function to the variable val1.
##############################################
abs-guide-10/multiplication.sh-23-mult1=25; mult2=5; mult3=20
abs-guide-10/multiplication.sh:24:val2=`multiply $mult1 $mult2 $mult3`
abs-guide-10/multiplication.sh-25-echo "$mult1 X $mult2 X $mult3 = $val2"          # 2500
##############################################
abs-guide-10/multiplication.sh-27-mult1=188; mult2=37; mult3=25; mult4=47
abs-guide-10/multiplication.sh:28:val3=`multiply $mult1 $mult2 $mult3 $mult4`
abs-guide-10/multiplication.sh-29-echo "$mult1 X $mult2 X $mult3 X $mult4 = $val3" # 8173300
##############################################
abs-guide-10/blank-rename.sh-15-       fname=$filename                      # Yes, this filename needs work.
abs-guide-10/blank-rename.sh:16:       n=`echo $fname | sed -e "s/ /_/g"`   # Substitute underscore for blank.
abs-guide-10/blank-rename.sh-17-       mv "$fname" "$n"                     # Do the actual renaming.
##############################################
abs-guide-10/dict-lookup.sh-33-then
abs-guide-10/dict-lookup.sh:34:  echo "Usage: `basename $0` Word-to-define [dictionary-file]"
abs-guide-10/dict-lookup.sh-35-  echo
##############################################
abs-guide-10/find-splitpara.sh-17-then
abs-guide-10/find-splitpara.sh:18:  echo "Usage: `basename $0` FILENAME"
abs-guide-10/find-splitpara.sh-19-  exit $E_WRONGARGS
##############################################
abs-guide-10/encryptedpw.sh-12-then
abs-guide-10/encryptedpw.sh:13:  echo "Usage: `basename $0` filename"
abs-guide-10/encryptedpw.sh-14-  exit $E_BADARGS
##############################################
abs-guide-10/encryptedpw.sh-20-
abs-guide-10/encryptedpw.sh:21:Filename=`basename $1`  # Strips pathname out of file name.
abs-guide-10/encryptedpw.sh-22-
##############################################
abs-guide-10/encryptedpw.sh-26-
abs-guide-10/encryptedpw.sh:27:Password=`cruft &lt;$pword`          # Decrypt password.
abs-guide-10/encryptedpw.sh-28-#  Uses the author's own "cruft" file encryption package,
##############################################
abs-guide-10/blot-out.sh-19-then
abs-guide-10/blot-out.sh:20:  echo "Usage: `basename $0` filename"
abs-guide-10/blot-out.sh-21-  exit $E_BADARGS
##############################################
abs-guide-10/ex33.sh-28-then
abs-guide-10/ex33.sh:29:  echo "Usage: `basename $0` options (-mnopqrs)"
abs-guide-10/ex33.sh-30-  exit $E_OPTERROR          # Exit and explain usage.
##############################################
abs-guide-10/kill-byname.sh-18-then
abs-guide-10/kill-byname.sh:19:  echo "Usage: `basename $0` Process(es)_to_kill"
abs-guide-10/kill-byname.sh-20-  exit $E_BADARGS
##############################################
abs-guide-10/ex66.sh-31-# Sum of two array variables assigned to third
abs-guide-10/ex66.sh:32:area[5]=`expr ${area[11]} + ${area[13]}`
abs-guide-10/ex66.sh-33-echo "area[5] = area[11] + area[13]"
##############################################
abs-guide-10/ex66.sh-36-
abs-guide-10/ex66.sh:37:area[6]=`expr ${area[11]} + ${area[51]}`
abs-guide-10/ex66.sh-38-echo "area[6] = area[11] + area[51]"
##############################################
abs-guide-10/sum-product.sh-19-
abs-guide-10/sum-product.sh:20:retval=`sum_and_product $first $second`      # Assigns output of function.
abs-guide-10/sum-product.sh:21:sum=`echo "$retval" | awk '{print $1}'`      # Assigns first field.
abs-guide-10/sum-product.sh:22:product=`echo "$retval" | awk '{print $2}'`  # Assigns second field.
abs-guide-10/sum-product.sh-23-
##############################################
abs-guide-10/ex52.sh-7-do
abs-guide-10/ex52.sh:8:  search1=`head -n $lines $File | grep begin | wc -w`
abs-guide-10/ex52.sh:9:  search2=`tail -n $lines $File | grep end | wc -w`
abs-guide-10/ex52.sh-10-  #  Uuencoded files have a "begin" near the beginning,
##############################################
abs-guide-10/hanoi2a.bash-119-  # Get rod-number, summit and weight
abs-guide-10/hanoi2a.bash:120:  first=( `FromRod $1` )
abs-guide-10/hanoi2a.bash-121-  eval Rod${first[0]}[${first[1]}]=0
##############################################
abs-guide-10/hanoi2a.bash-123-  # Get rod-number and first-free position
abs-guide-10/hanoi2a.bash:124:  second=( `ToRod ${first[2]} $2` )
abs-guide-10/hanoi2a.bash-125-  eval Rod${second[0]}[${second[1]}]=${first[2]}
##############################################
abs-guide-10/what.sh-9-do
abs-guide-10/what.sh:10:  whatis `basename $file`   # Echoes info about the binary.
abs-guide-10/what.sh-11-done
##############################################
abs-guide-10/ktour.sh-238-  let "move1 = -$kt_skip + $ROWS"           # 2 sideways to-the-left,  1 up
abs-guide-10/ktour.sh:239:    if [[ `expr $row_pos - $kt_skip` -lt $MIN ]]   # An ugly, ugly kludge!
abs-guide-10/ktour.sh-240-    then                                           # Can't move off board.
##############################################
abs-guide-10/ktour.sh-245-  let "move2 = -$kt_hop + $kt_skip * $ROWS" # 1 sideways to-the-left,  2 up
abs-guide-10/ktour.sh:246:    if [[ `expr $row_pos - $kt_hop` -lt $MIN ]]    # Kludge continued ...
abs-guide-10/ktour.sh-247-    then
##############################################
abs-guide-10/ktour.sh-252-  let "move3 =  $kt_hop + $kt_skip * $ROWS" # 1 sideways to-the-right, 2 up
abs-guide-10/ktour.sh:253:    if [[ `expr $row_pos + $kt_hop` -ge $COLS ]]
abs-guide-10/ktour.sh-254-    then
##############################################
abs-guide-10/ktour.sh-259-  let "move4 =  $kt_skip + $ROWS"           # 2 sideways to-the-right, 1 up
abs-guide-10/ktour.sh:260:    if [[ `expr $row_pos + $kt_skip` -ge $COLS ]]
abs-guide-10/ktour.sh-261-    then
##############################################
abs-guide-10/ktour.sh-266-  let "move5 =  $kt_skip - $ROWS"           # 2 sideways to-the-right, 1 dn
abs-guide-10/ktour.sh:267:    if [[ `expr $row_pos + $kt_skip` -ge $COLS ]]
abs-guide-10/ktour.sh-268-    then
##############################################
abs-guide-10/ktour.sh-273-  let "move6 =  $kt_hop - $kt_skip * $ROWS" # 1 sideways to-the-right, 2 dn
abs-guide-10/ktour.sh:274:    if [[ `expr $row_pos + $kt_hop` -ge $COLS ]]
abs-guide-10/ktour.sh-275-    then
##############################################
abs-guide-10/ktour.sh-280-  let "move7 = -$kt_hop - $kt_skip * $ROWS" # 1 sideways to-the-left,  2 dn
abs-guide-10/ktour.sh:281:    if [[ `expr $row_pos - $kt_hop` -lt $MIN ]]
abs-guide-10/ktour.sh-282-    then
##############################################
abs-guide-10/ktour.sh-287-  let "move8 = -$kt_skip - $ROWS"           # 2 sideways to-the-left,  1 dn
abs-guide-10/ktour.sh:288:    if [[ `expr $row_pos - $kt_skip` -lt $MIN ]]
abs-guide-10/ktour.sh-289-    then
##############################################
abs-guide-10/ex18.sh-18-then
abs-guide-10/ex18.sh:19:  echo "Usage: `basename $0` [domain-name]"
abs-guide-10/ex18.sh-20-  exit $E_NOARGS
##############################################
abs-guide-10/ex18.sh-23-# Check script name and call proper server.
abs-guide-10/ex18.sh:24:case `basename $0` in    # Or:    case ${0##*/} in
abs-guide-10/ex18.sh-25-    "wh"       ) whois $1@whois.tucows.com;;
##############################################
abs-guide-10/ex18.sh-28-    "wh-cw"    ) whois $1@whois.cw.net;;
abs-guide-10/ex18.sh:29:    *          ) echo "Usage: `basename $0` [domain-name]";;
abs-guide-10/ex18.sh-30-esac 
##############################################
abs-guide-10/pid-identifier.sh-13-then
abs-guide-10/pid-identifier.sh:14:  echo "Usage: `basename $0` PID-number" >&2  # Error message >stderr.
abs-guide-10/pid-identifier.sh-15-  exit $E_WRONGARGS
##############################################
abs-guide-10/abs-book.sgml-951-then
abs-guide-10/abs-book.sgml:952:  echo "Usage: `basename $0` $script_parameters"
abs-guide-10/abs-book.sgml:953:  # `basename $0` is the script's filename.
abs-guide-10/abs-book.sgml-954-  exit $E_WRONG_ARGS
##############################################
abs-guide-10/abs-book.sgml-9262-echo ${#stringZ}                 # 15
abs-guide-10/abs-book.sgml:9263:echo `expr length $stringZ`      # 15
abs-guide-10/abs-book.sgml:9264:echo `expr "$stringZ" : '.*'`    # 15</programlisting>
abs-guide-10/abs-book.sgml-9265-	  </para>
##############################################
abs-guide-10/abs-book.sgml-9309-
abs-guide-10/abs-book.sgml:9310:echo `expr match "$stringZ" 'abc[A-Z]*.2'`   # 8
abs-guide-10/abs-book.sgml:9311:echo `expr "$stringZ" : 'abc[A-Z]*.2'`       # 8</programlisting>
abs-guide-10/abs-book.sgml-9312-          </para>
##############################################
abs-guide-10/abs-book.sgml-9335-#       123456 ...
abs-guide-10/abs-book.sgml:9336:echo `expr index "$stringZ" C12`             # 6
abs-guide-10/abs-book.sgml-9337-                                             # C position.
abs-guide-10/abs-book.sgml-9338-
abs-guide-10/abs-book.sgml:9339:echo `expr index "$stringZ" 1c`              # 3
abs-guide-10/abs-book.sgml-9340-# 'c' (in #3 position) matches before '1'.</programlisting></para>
##############################################
abs-guide-10/abs-book.sgml-9459-
abs-guide-10/abs-book.sgml:9460:echo `expr substr $stringZ 1 2`              # ab
abs-guide-10/abs-book.sgml:9461:echo `expr substr $stringZ 4 3`              # ABC</programlisting>
abs-guide-10/abs-book.sgml-9462-          </para>
##############################################
abs-guide-10/abs-book.sgml-9501-
abs-guide-10/abs-book.sgml:9502:echo `expr match "$stringZ" '\(.[b-c]*[A-Z]..[0-9]\)'`   # abcABC1
abs-guide-10/abs-book.sgml:9503:echo `expr "$stringZ" : '\(.[b-c]*[A-Z]..[0-9]\)'`       # abcABC1
abs-guide-10/abs-book.sgml:9504:echo `expr "$stringZ" : '\(.......\)'`                   # abcABC1
abs-guide-10/abs-book.sgml-9505-# All of the above forms give an identical result.</programlisting>
##############################################
abs-guide-10/abs-book.sgml-9543-
abs-guide-10/abs-book.sgml:9544:echo `expr match "$stringZ" '.*\([A-C][A-C][A-C][a-c]*\)'`    # ABCabc
abs-guide-10/abs-book.sgml:9545:echo `expr "$stringZ" : '.*\(......\)'`                       # ABCabc</programlisting>
abs-guide-10/abs-book.sgml-9546-
##############################################
abs-guide-10/abs-book.sgml-10160-		<para>
abs-guide-10/abs-book.sgml:10161:<programlisting>echo `basename $PWD`        # Basename of current working directory.
abs-guide-10/abs-book.sgml-10162-echo "${PWD##*/}"           # Basename of current working directory.
abs-guide-10/abs-book.sgml-10163-echo
abs-guide-10/abs-book.sgml:10164:echo `basename $0`          # Name of script.
abs-guide-10/abs-book.sgml-10165-echo $0                     # Name of script.
##############################################
abs-guide-10/abs-book.sgml-11332-
abs-guide-10/abs-book.sgml:11333:	      <programlisting>script_name=`basename $0`
abs-guide-10/abs-book.sgml-11334-echo "The name of this script is $script_name."</programlisting></para>
##############################################
abs-guide-10/abs-book.sgml-11471-#  It is not necessary to explicitly assign a variable.
abs-guide-10/abs-book.sgml:11472:echo "` &lt;$0`"           # Echoes the script itself to stdout.</programlisting>
abs-guide-10/abs-book.sgml-11473-             </para>
##############################################
abs-guide-10/abs-book.sgml-11486-if [ -e "/proc/ide/${disk[$device]}/media" ] ; then
abs-guide-10/abs-book.sgml:11487:             hdmedia=`cat /proc/ide/${disk[$device]}/media`
abs-guide-10/abs-book.sgml-11488-...
##############################################
abs-guide-10/abs-book.sgml-11605-		    Default points out.
abs-guide-10/abs-book.sgml:11606:		      <programlisting>word_count=` wc -w \`echo * | awk '{print $8}'\` `</programlisting>
abs-guide-10/abs-book.sgml-11607-		    </para>
##############################################
abs-guide-10/abs-book.sgml-11671-	  </indexterm> <listitem>
abs-guide-10/abs-book.sgml:11672:	    <para><programlisting>z=`expr $z + 3`          # The 'expr' command performs the expansion.</programlisting></para>
abs-guide-10/abs-book.sgml-11673-
##############################################
abs-guide-10/abs-book.sgml-15268-	      <varlistentry>
abs-guide-10/abs-book.sgml:15269:		<term><userinput>y=`expr $y + 1`</userinput></term>
abs-guide-10/abs-book.sgml-15270-		<listitem>
##############################################
abs-guide-10/abs-book.sgml-15297-	      can substitute for <command>match</command>. For example,
abs-guide-10/abs-book.sgml:15298:	      <userinput>b=`expr $a : [0-9]*`</userinput> is the
abs-guide-10/abs-book.sgml-15299-	      exact equivalent of <userinput>b=`expr match $a
##############################################
abs-guide-10/abs-book.sgml-15318-	        <programlisting># Strip the whitespace from the beginning and end.
abs-guide-10/abs-book.sgml:15319:LRFDATE=`expr "$LRFDATE" : '[[:space:]]*\(.*\)[[:space:]]*$'`
abs-guide-10/abs-book.sgml-15320-
##############################################
abs-guide-10/abs-book.sgml-18342-	      for example a script is called with missing arguments:
abs-guide-10/abs-book.sgml:18343:              <programlisting>echo "Usage: `basename $0` arg1 arg2 ... argn"</programlisting>
abs-guide-10/abs-book.sgml-18344-	    </para>
##############################################
abs-guide-10/abs-book.sgml-18774-	    <para><programlisting>PREFIX=filename
abs-guide-10/abs-book.sgml:18775:tempfile=`mktemp $PREFIX.XXXXXX`
abs-guide-10/abs-book.sgml-18776-#                        ^^^^^^ Need at least 6 placeholders
##############################################
abs-guide-10/abs-book.sgml-19145-
abs-guide-10/abs-book.sgml:19146:if [[ `ping -c $count "$HNAME"` ]]
abs-guide-10/abs-book.sgml-19147-then
##############################################
abs-guide-10/abs-book.sgml-20261-
abs-guide-10/abs-book.sgml:20262:for filename in `seq $COUNT`
abs-guide-10/abs-book.sgml-20263-do
##############################################
abs-guide-10/abs-book.sgml-20962-            <para><programlisting># Generate md5 checksum on the script itself.
abs-guide-10/abs-book.sgml:20963:random001=`md5sum $0 | awk '{print $1}'`
abs-guide-10/abs-book.sgml-20964-# Uses 'awk' to strip off the filename.</programlisting></para>
##############################################
abs-guide-10/abs-book.sgml-21111-              analogous to something like the following in a shell script:
abs-guide-10/abs-book.sgml:21112:                <programlisting>case `basename $0` in
abs-guide-10/abs-book.sgml-21113-"name1" ) do_something;;
##############################################
abs-guide-10/abs-book.sgml-21875-
abs-guide-10/abs-book.sgml:21876:IRQ=`setserial /dev/$DEVICE | sed -e 's/.*IRQ: //'`
abs-guide-10/abs-book.sgml-21877-setserial /dev/$DEVICE irq 0 ; setserial /dev/$DEVICE irq $IRQ</programlisting></para>
##############################################
abs-guide-10/abs-book.sgml-23294-echo "Currently active devices:"
abs-guide-10/abs-book.sgml:23295:echo `/sbin/ifconfig | grep ^[a-z] | awk '{print $1}'`
abs-guide-10/abs-book.sgml-23296-#                            ^^^^^  should be quoted to prevent globbing.
##############################################
abs-guide-10/abs-book.sgml-28528-
abs-guide-10/abs-book.sgml:28529:array1=( `cat "$filename"`)                #  Loads contents
abs-guide-10/abs-book.sgml-28530-#         List file to stdout              #+ of $filename into array1.
abs-guide-10/abs-book.sgml-28531-#
abs-guide-10/abs-book.sgml:28532:#  array1=( `cat "$filename" | tr '\n' ' '`)
abs-guide-10/abs-book.sgml-28533-#                            change linefeeds in file to spaces. 
##############################################
abs-guide-10/abs-book.sgml-30765-	  <para>Choose descriptive names for variables and functions.
abs-guide-10/abs-book.sgml:30766:	    <programlisting>fl=`ls -al $dirname`                 # Cryptic.
abs-guide-10/abs-book.sgml:30767:file_listing=`ls -al $dirname`       # Better.
abs-guide-10/abs-book.sgml-30768-
##############################################
abs-guide-10/abs-book.sgml-31729-# Line 12 becomes:
abs-guide-10/abs-book.sgml:31730:  echo "Usage: `basename $0` name"</programlisting></para>
abs-guide-10/abs-book.sgml-31731-
##############################################
abs-guide-10/abs-book.sgml-31843-
abs-guide-10/abs-book.sgml:31844:  echo "Usage: `basename $0` "$msg""
abs-guide-10/abs-book.sgml-31845-}  
##############################################
abs-guide-10/abs-book.sgml-31913-#    oldvar="A seT of miXed-caSe LEtTerS"
abs-guide-10/abs-book.sgml:31914:#    newvar=`tolower "$oldvar"`
abs-guide-10/abs-book.sgml-31915-#    echo "$newvar"    # a set of mixed-case letters
##############################################
abs-guide-10/abs-book.sgml-32012-then
abs-guide-10/abs-book.sgml:32013:  echo "Usage: `basename $0` integer-input"
abs-guide-10/abs-book.sgml-32014-  exit $E_BADINPUT
##############################################
abs-guide-10/abs-book.sgml-32057-
abs-guide-10/abs-book.sgml:32058:  FirstChar=`echo "$firstchar" | tr a-z A-Z`
abs-guide-10/abs-book.sgml-32059-                             # Capitalize first character.
##############################################
abs-guide-10/abs-book.sgml-32087-...
abs-guide-10/abs-book.sgml:32088:retval=`sum_and_product $first $second`      # Assigns output of function.
abs-guide-10/abs-book.sgml-32089-# Now, this will not work correctly.</programlisting></para></caution>
##############################################
abs-guide-10/abs-book.sgml-37605-
abs-guide-10/abs-book.sgml:37606:cd $var || error "`eval_gettext \"Can\'t cd to \\\$var.\"`"
abs-guide-10/abs-book.sgml-37607-#  The triple backslashes (escapes) in front of $var needed
##############################################
abs-guide-10/col-totaler.sh-10-then
abs-guide-10/col-totaler.sh:11:   echo "Usage: `basename $0` filename column-number"
abs-guide-10/col-totaler.sh-12-   exit $E_WRONGARGS
##############################################
abs-guide-10/spam-lookup.sh-9-then
abs-guide-10/spam-lookup.sh:10:  echo "Usage: `basename $0` domain-name"
abs-guide-10/spam-lookup.sh-11-  exit $E_WRONGARGS
##############################################
abs-guide-10/Draw-box.sh-65-
abs-guide-10/Draw-box.sh:66:BOX_HEIGHT=`expr $3 - 1`   #  -1 correction needed because angle char "+"
abs-guide-10/Draw-box.sh:67:BOX_WIDTH=`expr $4 - 1`    #+ is a part of both box height and width.
abs-guide-10/Draw-box.sh-68-T_ROWS=`tput lines`        #  Define current terminal dimension 
##############################################
abs-guide-10/Draw-box.sh-76-fi
abs-guide-10/Draw-box.sh:77:if [ `expr $1 + $BOX_HEIGHT + 1` -gt $T_ROWS ]; then
abs-guide-10/Draw-box.sh-78-   exit $E_BADARGS
abs-guide-10/Draw-box.sh-79-fi
abs-guide-10/Draw-box.sh:80:if [ `expr $2 + $BOX_WIDTH + 1` -gt $T_COLS ]; then
abs-guide-10/Draw-box.sh-81-   exit $E_BADARGS
##############################################
abs-guide-10/Draw-box.sh-101-count=1
abs-guide-10/Draw-box.sh:102:c=`expr $2 + $BOX_WIDTH`
abs-guide-10/Draw-box.sh-103-for (( r=$1; count<=$BOX_HEIGHT; r++)); do
##############################################
abs-guide-10/Draw-box.sh-114-count=1
abs-guide-10/Draw-box.sh:115:r=`expr $1 + $BOX_HEIGHT`
abs-guide-10/Draw-box.sh-116-for (( c=$2; count<=$BOX_WIDTH; c++)); do
##############################################
abs-guide-10/Draw-box.sh-121-plot_char $1 $2 $CORNER_CHAR                   # Draw box angles.
abs-guide-10/Draw-box.sh:122:plot_char $1 `expr $2 + $BOX_WIDTH` $CORNER_CHAR
abs-guide-10/Draw-box.sh:123:plot_char `expr $1 + $BOX_HEIGHT` $2 $CORNER_CHAR
abs-guide-10/Draw-box.sh:124:plot_char `expr $1 + $BOX_HEIGHT` `expr $2 + $BOX_WIDTH` $CORNER_CHAR
abs-guide-10/Draw-box.sh-125-
##############################################
abs-guide-10/Draw-box.sh-127-
abs-guide-10/Draw-box.sh:128:P_ROWS=`expr $T_ROWS - 1`    #  Put the prompt at bottom of the terminal.
abs-guide-10/Draw-box.sh-129-
##############################################
abs-guide-10/idelete.sh-13-then
abs-guide-10/idelete.sh:14:  echo "Usage: `basename $0` filename"
abs-guide-10/idelete.sh-15-  exit $E_WRONGARGS
##############################################
abs-guide-10/idelete.sh-23-
abs-guide-10/idelete.sh:24:inum=`ls -i | grep "$1" | awk '{print $1}'`
abs-guide-10/idelete.sh-25-# inum = inode (index node) number of file
##############################################
abs-guide-10/hanoi2.bash-120-  # Get rod-number, summit and weight
abs-guide-10/hanoi2.bash:121:  first=( `FromRod $1` )
abs-guide-10/hanoi2.bash-122-  eval Rod${first[0]}[${first[1]}]=0
##############################################
abs-guide-10/hanoi2.bash-124-  # Get rod-number and first-free position
abs-guide-10/hanoi2.bash:125:  second=( `ToRod ${first[2]} $2` )
abs-guide-10/hanoi2.bash-126-  eval Rod${second[0]}[${second[1]}]=${first[2]}
##############################################
abs-guide-10/arglist.sh-8-then
abs-guide-10/arglist.sh:9:  echo "Usage: `basename $0` argument1 argument2 etc."
abs-guide-10/arglist.sh-10-  exit $E_BADARGS
##############################################
abs-guide-10/Du.sh-7-then
abs-guide-10/Du.sh:8:  echo "Usage: `basename $0` filename-to-convert"
abs-guide-10/Du.sh-9-  exit $E_WRONGARGS
##############################################
abs-guide-10/life.sh-98-declare -a arr
abs-guide-10/life.sh:99:arr=( `echo "$1"` )     # Convert passed arg to array.
abs-guide-10/life.sh-100-
##############################################
abs-guide-10/life.sh-207-
abs-guide-10/life.sh:208:  array=( `echo "$1"` )
abs-guide-10/life.sh-209-
##############################################
abs-guide-10/life.sh-270-
abs-guide-10/life.sh:271:array=( `echo "$1"` )     # Convert passed arg to array.
abs-guide-10/life.sh-272-
##############################################
abs-guide-10/life.sh-290-# Set variable to pass as parameter to "display" function.
abs-guide-10/life.sh:291:avar=`echo ${array[@]}`   # Convert array back to string variable.
abs-guide-10/life.sh-292-display "$avar"           # Display it.
##############################################
abs-guide-10/life.sh-333-# -------- Display first generation. --------
abs-guide-10/life.sh:334:Gen0=`echo ${initial[@]}`
abs-guide-10/life.sh-335-display "$Gen0"           # Display only.
##############################################
abs-guide-10/life.sh-345-# ------- Display second generation. -------
abs-guide-10/life.sh:346:Cur=`echo ${initial[@]}`
abs-guide-10/life.sh-347-next_gen "$Cur"          # Update & display.
##############################################
abs-guide-10/letter-count.sh-16-	   echo
abs-guide-10/letter-count.sh:17:           echo Usage: `basename $0` file letters  
abs-guide-10/letter-count.sh:18:           echo Note: `basename $0` arguments are case sensitive.
abs-guide-10/letter-count.sh:19:           echo Example: `basename $0` foobar.txt G n U L i N U x.
abs-guide-10/letter-count.sh-20-	   echo
##############################################
abs-guide-10/letter-count.sh-41-# Counts letter occurrences .
abs-guide-10/letter-count.sh:42:for n in `seq $LETTERS`; do
abs-guide-10/letter-count.sh-43-      shift
abs-guide-10/letter-count.sh:44:      if [[ `echo -n "$1" | wc -c` -eq 1 ]]; then             #  Checks arg.
abs-guide-10/letter-count.sh:45:             echo "$1" -\> `cat $FILE | tr -cd  "$1" | wc -c` #  Counting.
abs-guide-10/letter-count.sh-46-      else
##############################################
abs-guide-10/ex25.sh-12-
abs-guide-10/ex25.sh:13:  var0=`expr $var0 + 1`   # var0=$(($var0+1))  also works.
abs-guide-10/ex25.sh-14-                          # var0=$((var0 + 1)) also works.
##############################################
abs-guide-10/realname.sh-14-then
abs-guide-10/realname.sh:15:  echo "Usage: `basename $0` USERNAME"
abs-guide-10/realname.sh-16-  exit $E_WRONGARGS
##############################################
abs-guide-10/redir4.sh-9-
abs-guide-10/redir4.sh:10:line_count=`wc $Filename | awk '{ print $1 }'`
abs-guide-10/redir4.sh-11-#           Number of lines in target file.
##############################################
abs-guide-10/redir4.sh-19-
abs-guide-10/redir4.sh:20:for name in `seq $line_count`  # Recall that "seq" prints sequence of numbers.
abs-guide-10/redir4.sh-21-# while [ "$name" != Smith ]   --   more complicated than a "while" loop   --
##############################################
abs-guide-10/ex14.sh-12-then
abs-guide-10/ex14.sh:13:  echo "Usage: `basename $0` filename" >&2
abs-guide-10/ex14.sh-14-  # Error message to stderr.
##############################################
abs-guide-10/HTML/variables2.html-3150-   8&nbsp;then
abs-guide-10/HTML/variables2.html:3151:   9&nbsp;  echo "Usage: `basename $0` argument1 argument2 etc."
abs-guide-10/HTML/variables2.html-3152-  10&nbsp;  exit $E_BADARGS
##############################################
abs-guide-10/HTML/localization.html-132-  15&nbsp;
abs-guide-10/HTML/localization.html:133:  16&nbsp;cd $var || error "`eval_gettext \"Can\'t cd to \\\$var.\"`"
abs-guide-10/HTML/localization.html-134-  17&nbsp;#  The triple backslashes (escapes) in front of $var needed
##############################################
abs-guide-10/HTML/subshells.html-536-   8&nbsp;
abs-guide-10/HTML/subshells.html:537:   9&nbsp;for home in `awk -F: '{print $6}' /etc/passwd`
abs-guide-10/HTML/subshells.html-538-  10&nbsp;do
##############################################
abs-guide-10/HTML/extmisc.html-234-  19&nbsp;
abs-guide-10/HTML/extmisc.html:235:  20&nbsp;for a in `seq $COUNT`  # or   for a in $( seq $COUNT )
abs-guide-10/HTML/extmisc.html-236-  21&nbsp;do
##############################################
abs-guide-10/HTML/extmisc.html-244-  29&nbsp;
abs-guide-10/HTML/extmisc.html:245:  30&nbsp;for a in `seq $BEGIN $END`
abs-guide-10/HTML/extmisc.html-246-  31&nbsp;#  Giving "seq" two arguments starts the count at the first one,
##############################################
abs-guide-10/HTML/extmisc.html-257-  42&nbsp;
abs-guide-10/HTML/extmisc.html:258:  43&nbsp;for a in `seq $BEGIN $INTERVAL $END`
abs-guide-10/HTML/extmisc.html-259-  44&nbsp;#  Giving "seq" three arguments starts the count at the first one,
##############################################
abs-guide-10/HTML/extmisc.html-288-   5&nbsp;
abs-guide-10/HTML/extmisc.html:289:   6&nbsp;for filename in `seq $COUNT`
abs-guide-10/HTML/extmisc.html-290-   7&nbsp;do
##############################################
abs-guide-10/HTML/extmisc.html-331-  16&nbsp;	   echo
abs-guide-10/HTML/extmisc.html:332:  17&nbsp;           echo Usage: `basename $0` file letters  
abs-guide-10/HTML/extmisc.html:333:  18&nbsp;           echo Note: `basename $0` arguments are case sensitive.
abs-guide-10/HTML/extmisc.html:334:  19&nbsp;           echo Example: `basename $0` foobar.txt G n U L i N U x.
abs-guide-10/HTML/extmisc.html-335-  20&nbsp;	   echo
##############################################
abs-guide-10/HTML/extmisc.html-356-  41&nbsp;# Counts letter occurrences .
abs-guide-10/HTML/extmisc.html:357:  42&nbsp;for n in `seq $LETTERS`; do
abs-guide-10/HTML/extmisc.html-358-  43&nbsp;      shift
abs-guide-10/HTML/extmisc.html:359:  44&nbsp;      if [[ `echo -n "$1" | wc -c` -eq 1 ]]; then             #  Checks arg.
abs-guide-10/HTML/extmisc.html:360:  45&nbsp;             echo "$1" -\&#62; `cat $FILE | tr -cd  "$1" | wc -c` #  Counting.
abs-guide-10/HTML/extmisc.html-361-  46&nbsp;      else
##############################################
abs-guide-10/HTML/extmisc.html-538-  24&nbsp;
abs-guide-10/HTML/extmisc.html:539:  25&nbsp;set -- `getopt "abcd:" "$@"`
abs-guide-10/HTML/extmisc.html-540-  26&nbsp;# Sets positional parameters to command-line arguments.
##############################################
abs-guide-10/HTML/extmisc.html-1836-  19&nbsp;then
abs-guide-10/HTML/extmisc.html:1837:  20&nbsp;  echo "Usage: `basename $0` filename"
abs-guide-10/HTML/extmisc.html-1838-  21&nbsp;  exit $E_BADARGS
##############################################
abs-guide-10/HTML/extmisc.html-2127->   1&nbsp;# Generate md5 checksum on the script itself.
abs-guide-10/HTML/extmisc.html:2128:   2&nbsp;random001=`md5sum $0 | awk '{print $1}'`
abs-guide-10/HTML/extmisc.html-2129-   3&nbsp;# Uses 'awk' to strip off the filename.</PRE
##############################################
abs-guide-10/HTML/extmisc.html-2243-  14&nbsp;Unit2=meters
abs-guide-10/HTML/extmisc.html:2244:  15&nbsp;cfactor=`convert_units $Unit1 $Unit2`
abs-guide-10/HTML/extmisc.html-2245-  16&nbsp;quantity=3.73
##############################################
abs-guide-10/HTML/extmisc.html-2354-  12&nbsp;echo "incr($var)" | m4                              #  100
abs-guide-10/HTML/extmisc.html:2355:  13&nbsp;echo "eval($var / 3)" | m4                          #   33
abs-guide-10/HTML/extmisc.html-2356-  14&nbsp;
##############################################
abs-guide-10/HTML/extmisc.html-2521-CLASS="PROGRAMLISTING"
abs-guide-10/HTML/extmisc.html:2522:>   1&nbsp;case `basename $0` in
abs-guide-10/HTML/extmisc.html-2523-   2&nbsp;"name1" ) do_something;;
##############################################
abs-guide-10/HTML/parameter-substitution.html-1009-CLASS="PROGRAMLISTING"
abs-guide-10/HTML/parameter-substitution.html:1010:>   1&nbsp;echo `basename $PWD`        # Basename of current working directory.
abs-guide-10/HTML/parameter-substitution.html-1011-   2&nbsp;echo "${PWD##*/}"           # Basename of current working directory.
abs-guide-10/HTML/parameter-substitution.html-1012-   3&nbsp;echo
abs-guide-10/HTML/parameter-substitution.html:1013:   4&nbsp;echo `basename $0`          # Name of script.
abs-guide-10/HTML/parameter-substitution.html-1014-   5&nbsp;echo $0                     # Name of script.
##############################################
abs-guide-10/HTML/parameter-substitution.html-1219-  14&nbsp;  0|1)             # The vertical bar means "or" in this context.
abs-guide-10/HTML/parameter-substitution.html:1220:  15&nbsp;  echo "Usage: `basename $0` old_file_suffix new_file_suffix"
abs-guide-10/HTML/parameter-substitution.html-1221-  16&nbsp;  exit $E_BADARGS  # If 0 or 1 arg, then bail out.
##############################################
abs-guide-10/HTML/parameter-substitution.html-1465-  27&nbsp;echo "path_name, stripped of prefixes = $t"
abs-guide-10/HTML/parameter-substitution.html:1466:  28&nbsp;# Same effect as   t=`basename $path_name` in this particular case.
abs-guide-10/HTML/parameter-substitution.html-1467-  29&nbsp;#  t=${path_name%/}; t=${t##*/}   is a more general solution,
abs-guide-10/HTML/parameter-substitution.html-1468-  30&nbsp;#+ but still fails sometimes.
abs-guide-10/HTML/parameter-substitution.html:1469:  31&nbsp;#  If $path_name ends with a newline, then `basename $path_name` will not work,
abs-guide-10/HTML/parameter-substitution.html-1470-  32&nbsp;#+ but the above expression will.
##############################################
abs-guide-10/HTML/parameter-substitution.html-1473-  35&nbsp;t=${path_name%/*.*}
abs-guide-10/HTML/parameter-substitution.html:1474:  36&nbsp;# Same effect as   t=`dirname $path_name`
abs-guide-10/HTML/parameter-substitution.html-1475-  37&nbsp;echo "path_name, stripped of suffixes = $t"
##############################################
abs-guide-10/HTML/textproc.html-347-  12&nbsp;then
abs-guide-10/HTML/textproc.html:348:  13&nbsp;  echo "Usage: `basename $0` filename"
abs-guide-10/HTML/textproc.html-349-  14&nbsp;  exit $E_BADARGS
##############################################
abs-guide-10/HTML/textproc.html-961-   8&nbsp;do
abs-guide-10/HTML/textproc.html:962:   9&nbsp;  if [[ `head -c$TESTCHARS "$file"` = "$SHABANG" ]]
abs-guide-10/HTML/textproc.html-963-  10&nbsp;  #      head -c2                      #!
##############################################
abs-guide-10/HTML/textproc.html-1797-   7&nbsp;then
abs-guide-10/HTML/textproc.html:1798:   8&nbsp;  echo "Usage: `basename $0` pattern"
abs-guide-10/HTML/textproc.html-1799-   9&nbsp;  exit $E_BADARGS
##############################################
abs-guide-10/HTML/textproc.html-2211-  33&nbsp;then
abs-guide-10/HTML/textproc.html:2212:  34&nbsp;  echo "Usage: `basename $0` Word-to-define [dictionary-file]"
abs-guide-10/HTML/textproc.html-2213-  35&nbsp;  echo
##############################################
abs-guide-10/HTML/textproc.html-3020-   7&nbsp;then
abs-guide-10/HTML/textproc.html:3021:   8&nbsp;  echo "Usage: `basename $0` filename"
abs-guide-10/HTML/textproc.html-3022-   9&nbsp;  exit $E_BADARGS
##############################################
abs-guide-10/HTML/textproc.html-3076-  11&nbsp;do
abs-guide-10/HTML/textproc.html:3077:  12&nbsp;   fname=`basename $filename`
abs-guide-10/HTML/textproc.html:3078:  13&nbsp;   n=`echo $fname | tr A-Z a-z`  # Change name to lowercase.
abs-guide-10/HTML/textproc.html-3079-  14&nbsp;   if [ "$fname" != "$n" ]       # Rename only files not already lowercase.
##############################################
abs-guide-10/HTML/textproc.html-3097-  32&nbsp;                     # since "*" won't return any file containing "/".
abs-guide-10/HTML/textproc.html:3098:  33&nbsp;do n=`echo "$filename/" | tr '[:upper:]' '[:lower:]'`
abs-guide-10/HTML/textproc.html-3099-  34&nbsp;#                             POSIX char set notation.
##############################################
abs-guide-10/HTML/textproc.html-3144-   7&nbsp;then
abs-guide-10/HTML/textproc.html:3145:   8&nbsp;  echo "Usage: `basename $0` filename-to-convert"
abs-guide-10/HTML/textproc.html-3146-   9&nbsp;  exit $E_WRONGARGS
##############################################
abs-guide-10/HTML/textproc.html-3701-   9&nbsp;
abs-guide-10/HTML/textproc.html:3702:  10&nbsp;nl `basename $0`
abs-guide-10/HTML/textproc.html-3703-  11&nbsp;
##############################################
abs-guide-10/HTML/textproc.html-3705-  13&nbsp;
abs-guide-10/HTML/textproc.html:3706:  14&nbsp;cat -n `basename $0`
abs-guide-10/HTML/textproc.html-3707-  15&nbsp;# The difference is that 'cat -n' numbers the blank lines.
##############################################
abs-guide-10/HTML/textproc.html-4120-  11&nbsp;then
abs-guide-10/HTML/textproc.html:4121:  12&nbsp;  echo "Usage: `basename $0` filename"
abs-guide-10/HTML/textproc.html-4122-  13&nbsp;  exit $E_WRONGARGS
##############################################
abs-guide-10/HTML/mathc.html-453-  19&nbsp;NOARGS=85
abs-guide-10/HTML/mathc.html:454:  20&nbsp;PN=`basename "$0"`			       # Program name
abs-guide-10/HTML/mathc.html:455:  21&nbsp;VER=`echo '$Revision: 1.2 $' | cut -d' ' -f2`  # ==&#62; VER=1.2
abs-guide-10/HTML/mathc.html-456-  22&nbsp;
##############################################
abs-guide-10/HTML/mathc.html-492-  58&nbsp;	# Remove prefix, convert hex digits to uppercase (bc needs this).
abs-guide-10/HTML/mathc.html:493:  59&nbsp;	number=`echo "$i" | sed -e 's:^0[bBxX]::' | tr '[a-f]' '[A-F]'`
abs-guide-10/HTML/mathc.html-494-  60&nbsp;	# ==&#62; Uses ":" as sed separator, rather than "/".
##############################################
abs-guide-10/HTML/mathc.html-496-  62&nbsp;	# Convert number to decimal
abs-guide-10/HTML/mathc.html:497:  63&nbsp;	dec=`echo "ibase=$ibase; $number" | bc`  # ==&#62; 'bc' is calculator utility.
abs-guide-10/HTML/mathc.html-498-  64&nbsp;	case "$dec" in
##############################################
abs-guide-10/HTML/mathc.html-1164-   9&nbsp;then
abs-guide-10/HTML/mathc.html:1165:  10&nbsp;  echo "Usage: `basename $0` side_1 side_2"
abs-guide-10/HTML/mathc.html-1166-  11&nbsp;  exit $E_BADARGS
##############################################
abs-guide-10/HTML/list-cons.html-289-   7&nbsp;#    ^^^^^^^^^^^^ condition #1
abs-guide-10/HTML/list-cons.html:290:   8&nbsp;echo "Usage: `basename $0` $ARGS argument(s)" &#38;&#38; exit $E_BADARGS
abs-guide-10/HTML/list-cons.html-291-   9&nbsp;#                                             ^^
##############################################
abs-guide-10/HTML/list-cons.html-408-   9&nbsp;then
abs-guide-10/HTML/list-cons.html:409:  10&nbsp;  echo "Usage: `basename $0` filename"
abs-guide-10/HTML/list-cons.html-410-  11&nbsp;  exit $E_BADARGS  # No arg? Bail out.
##############################################
abs-guide-10/HTML/system.html-1786-   2&nbsp;
abs-guide-10/HTML/system.html:1787:   3&nbsp;IRQ=`setserial /dev/$DEVICE | sed -e 's/.*IRQ: //'`
abs-guide-10/HTML/system.html-1788-   4&nbsp;setserial /dev/$DEVICE irq 0 ; setserial /dev/$DEVICE irq $IRQ</PRE
##############################################
abs-guide-10/HTML/system.html-2574-  35&nbsp;# Generate a randomish base port.
abs-guide-10/HTML/system.html:2575:  36&nbsp;RP=`expr $$ % $RAND1 + $RAND2`
abs-guide-10/HTML/system.html-2576-  37&nbsp;
##############################################
abs-guide-10/HTML/system.html-2591-  52&nbsp;  kill -HUP $PROC
abs-guide-10/HTML/system.html:2592:  53&nbsp;  RP=`expr ${RP} + 1`
abs-guide-10/HTML/system.html-2593-  54&nbsp;  shift
##############################################
abs-guide-10/HTML/system.html-4182-  12&nbsp;
abs-guide-10/HTML/system.html:4183:  13&nbsp;t=`pidof $process`       # Find pid (process id) of $process.
abs-guide-10/HTML/system.html-4184-  14&nbsp;# The pid is needed by 'kill' (can't 'kill' by program name).
##############################################
abs-guide-10/HTML/system.html-4195-  25&nbsp;# Need a check here to see if process allowed itself to be killed.
abs-guide-10/HTML/system.html:4196:  26&nbsp;# Perhaps another " t=`pidof $process` " or ...
abs-guide-10/HTML/system.html-4197-  27&nbsp;
##############################################
abs-guide-10/HTML/system.html-4879-  22&nbsp;echo "Currently active devices:"
abs-guide-10/HTML/system.html:4880:  23&nbsp;echo `/sbin/ifconfig | grep ^[a-z] | awk '{print $1}'`
abs-guide-10/HTML/system.html-4881-  24&nbsp;#                            ^^^^^  should be quoted to prevent globbing.
##############################################
abs-guide-10/HTML/system.html-7802-  24&nbsp;        # --&#62; Match variable name, which, in this case, is the file name.
abs-guide-10/HTML/system.html:7803:  25&nbsp;        # --&#62; This is the exact equivalent of subsys=`basename $i`.
abs-guide-10/HTML/system.html-7804-  26&nbsp;	
##############################################
abs-guide-10/HTML/arrays.html-185-  31&nbsp;# Sum of two array variables assigned to third
abs-guide-10/HTML/arrays.html:186:  32&nbsp;area[5]=`expr ${area[11]} + ${area[13]}`
abs-guide-10/HTML/arrays.html-187-  33&nbsp;echo "area[5] = area[11] + area[13]"
##############################################
abs-guide-10/HTML/arrays.html-190-  36&nbsp;
abs-guide-10/HTML/arrays.html:191:  37&nbsp;area[6]=`expr ${area[11]} + ${area[51]}`
abs-guide-10/HTML/arrays.html-192-  38&nbsp;echo "area[6] = area[11] + area[51]"
##############################################
abs-guide-10/HTML/arrays.html-1100-  12&nbsp;
abs-guide-10/HTML/arrays.html:1101:  13&nbsp;array1=( `cat "$filename"`)                #  Loads contents
abs-guide-10/HTML/arrays.html-1102-  14&nbsp;#         List file to stdout              #+ of $filename into array1.
abs-guide-10/HTML/arrays.html-1103-  15&nbsp;#
abs-guide-10/HTML/arrays.html:1104:  16&nbsp;#  array1=( `cat "$filename" | tr '\n' ' '`)
abs-guide-10/HTML/arrays.html-1105-  17&nbsp;#                            change linefeeds in file to spaces. 
##############################################
abs-guide-10/HTML/arrays.html-1579-  57&nbsp;  do
abs-guide-10/HTML/arrays.html:1580:  58&nbsp;    if [ ${Countries[$index]} \&#62; ${Countries[`expr $index + 1`]} ]
abs-guide-10/HTML/arrays.html-1581-  59&nbsp;    #  If out of order...
##############################################
abs-guide-10/HTML/arrays.html-1584-  62&nbsp;
abs-guide-10/HTML/arrays.html:1585:  63&nbsp;    #  if [[ ${Countries[$index]} &#62; ${Countries[`expr $index + 1`]} ]]
abs-guide-10/HTML/arrays.html-1586-  64&nbsp;    #+ also works.
abs-guide-10/HTML/arrays.html-1587-  65&nbsp;    then
abs-guide-10/HTML/arrays.html:1588:  66&nbsp;      exchange $index `expr $index + 1`  # Swap.
abs-guide-10/HTML/arrays.html-1589-  67&nbsp;    fi  
##############################################
abs-guide-10/HTML/arrays.html-2228-  35&nbsp;  
abs-guide-10/HTML/arrays.html:2229:  36&nbsp;  t0=`expr $n - ${Q[n1]}`  # n - Q[n-1]
abs-guide-10/HTML/arrays.html:2230:  37&nbsp;  t1=`expr $n - ${Q[n2]}`  # n - Q[n-2]
abs-guide-10/HTML/arrays.html-2231-  38&nbsp;  
##############################################
abs-guide-10/HTML/arrays.html-2234-  41&nbsp;
abs-guide-10/HTML/arrays.html:2235:  42&nbsp;Q[n]=`expr $T0 + $T1`      # Q[n - Q[n-1]] + Q[n - Q[n-2]]
abs-guide-10/HTML/arrays.html-2236-  43&nbsp;echo -n "${Q[n]} "
abs-guide-10/HTML/arrays.html-2237-  44&nbsp;
abs-guide-10/HTML/arrays.html:2238:  45&nbsp;if [ `expr $n % $LINEWIDTH` -eq 0 ]    # Format output.
abs-guide-10/HTML/arrays.html-2239-  46&nbsp;then   #      ^ modulo
##############################################
abs-guide-10/HTML/arrays.html-2303-  20&nbsp;do     # Use different symbols if you like.
abs-guide-10/HTML/arrays.html:2304:  21&nbsp;  local row=`expr $rc / $Columns`
abs-guide-10/HTML/arrays.html:2305:  22&nbsp;  local column=`expr $rc % $Rows`
abs-guide-10/HTML/arrays.html-2306-  23&nbsp;  let "index = $row * $Rows + $column"
##############################################
abs-guide-10/HTML/awk.html-305-  35&nbsp;shift                      # Letters specified.
abs-guide-10/HTML/awk.html:306:  36&nbsp;for letter in `echo $@`    # For each one . . .
abs-guide-10/HTML/awk.html-307-  37&nbsp;  do
##############################################
abs-guide-10/HTML/awk.html-310-  40&nbsp;  # Pass as parameter to awk script below.
abs-guide-10/HTML/awk.html:311:  41&nbsp;  count_case=`expr $count_case + 1`
abs-guide-10/HTML/awk.html-312-  42&nbsp;done
##############################################
abs-guide-10/HTML/loops.html-514-  23&nbsp;  ls -l $file | awk '{ print $8 "         file size: " $5 }'  # Print 2 fields.
abs-guide-10/HTML/loops.html:515:  24&nbsp;  whatis `basename $file`   # File info.
abs-guide-10/HTML/loops.html-516-  25&nbsp;  # Note that the whatis database needs to have been set up for this to work.
##############################################
abs-guide-10/HTML/loops.html-794-   6&nbsp;
abs-guide-10/HTML/loops.html:795:   7&nbsp;for number in `echo $NUMBERS`  # for number in 9 7 3 8 37.53
abs-guide-10/HTML/loops.html-796-   8&nbsp;do
##############################################
abs-guide-10/HTML/loops.html-845-  11&nbsp;then
abs-guide-10/HTML/loops.html:846:  12&nbsp;  echo "Usage: `basename $0` search_string filename"
abs-guide-10/HTML/loops.html-847-  13&nbsp;  exit $E_BADARGS
##############################################
abs-guide-10/HTML/loops.html-1325-  11&nbsp;then
abs-guide-10/HTML/loops.html:1326:  12&nbsp;   echo "Usage: `basename $0` phone# text-file"
abs-guide-10/HTML/loops.html-1327-  13&nbsp;   exit $E_BADARGS
##############################################
abs-guide-10/HTML/loops.html-1604-  12&nbsp;
abs-guide-10/HTML/loops.html:1605:  13&nbsp;  var0=`expr $var0 + 1`   # var0=$(($var0+1))  also works.
abs-guide-10/HTML/loops.html-1606-  14&nbsp;                          # var0=$((var0 + 1)) also works.
##############################################
abs-guide-10/HTML/internal.html-894-  33&nbsp;
abs-guide-10/HTML/internal.html:895:  34&nbsp;Msg=`printf "%s %s \n" $Message1 $Message2`
abs-guide-10/HTML/internal.html-896-  35&nbsp;echo $Msg; echo $Msg
##############################################
abs-guide-10/HTML/internal.html-2676-  12&nbsp;
abs-guide-10/HTML/internal.html:2677:  13&nbsp;killppp="eval kill -9 `ps ax | awk '/ppp/ { print $1 }'`"
abs-guide-10/HTML/internal.html-2678-  14&nbsp;#                     -------- process ID of ppp -------  
##############################################
abs-guide-10/HTML/internal.html-3477-  13&nbsp;then
abs-guide-10/HTML/internal.html:3478:  14&nbsp;   echo "Usage: `basename $0` filename column-number"
abs-guide-10/HTML/internal.html-3479-  15&nbsp;   exit $E_WRONGARGS
##############################################
abs-guide-10/HTML/internal.html-3910-  28&nbsp;then
abs-guide-10/HTML/internal.html:3911:  29&nbsp;  echo "Usage: `basename $0` options (-mnopqrs)"
abs-guide-10/HTML/internal.html-3912-  30&nbsp;  exit $E_OPTERROR          # Exit and explain usage.
##############################################
abs-guide-10/HTML/internal.html-5345-  15&nbsp;then
abs-guide-10/HTML/internal.html:5346:  16&nbsp;  echo "Usage: `basename $0` find-string"
abs-guide-10/HTML/internal.html-5347-  17&nbsp;  exit $E_NOPARAMS
##############################################
abs-guide-10/HTML/othertypesv.html-462-  10&nbsp;# Adds ./ for current directory
abs-guide-10/HTML/othertypesv.html:463:  11&nbsp;echo "The name of this script is \"`basename $0`\"."
abs-guide-10/HTML/othertypesv.html-464-  12&nbsp;# Strips out path name info (see 'basename')
##############################################
abs-guide-10/HTML/othertypesv.html-685-  18&nbsp;then
abs-guide-10/HTML/othertypesv.html:686:  19&nbsp;  echo "Usage: `basename $0` [domain-name]"
abs-guide-10/HTML/othertypesv.html-687-  20&nbsp;  exit $E_NOARGS
##############################################
abs-guide-10/HTML/othertypesv.html-690-  23&nbsp;# Check script name and call proper server.
abs-guide-10/HTML/othertypesv.html:691:  24&nbsp;case `basename $0` in    # Or:    case ${0##*/} in
abs-guide-10/HTML/othertypesv.html-692-  25&nbsp;    "wh"       ) whois $1@whois.tucows.com;;
##############################################
abs-guide-10/HTML/othertypesv.html-695-  28&nbsp;    "wh-cw"    ) whois $1@whois.cw.net;;
abs-guide-10/HTML/othertypesv.html:696:  29&nbsp;    *          ) echo "Usage: `basename $0` [domain-name]";;
abs-guide-10/HTML/othertypesv.html-697-  30&nbsp;esac 
##############################################
abs-guide-10/HTML/devproc.html-603-  18&nbsp;{                   #+ 8000 fps / 440 = 16 :: A = 16 bytes per second)
abs-guide-10/HTML/devproc.html:604:  19&nbsp;  for t in `seq 0 $duration`
abs-guide-10/HTML/devproc.html-605-  20&nbsp;  do
##############################################
abs-guide-10/HTML/zeros.html-524-  25&nbsp;then
abs-guide-10/HTML/zeros.html:525:  26&nbsp;  echo "Must be root to run \"`basename $0`\"."
abs-guide-10/HTML/zeros.html-526-  27&nbsp;  exit $E_NON_ROOT_USER
##############################################
abs-guide-10/HTML/contributed-scripts.html-131-  13&nbsp;then
abs-guide-10/HTML/contributed-scripts.html:132:  14&nbsp;  echo "Usage: `basename $0` filename"
abs-guide-10/HTML/contributed-scripts.html-133-  15&nbsp;  exit $E_BADARGS
##############################################
abs-guide-10/HTML/contributed-scripts.html-215-  15&nbsp;then
abs-guide-10/HTML/contributed-scripts.html:216:  16&nbsp;  echo "Usage: `basename $0` old-pattern new-pattern"
abs-guide-10/HTML/contributed-scripts.html-217-  17&nbsp;  # As in "rn gif jpg", which renames all gif files in working directory to jpg.
##############################################
abs-guide-10/HTML/contributed-scripts.html-227-  27&nbsp;   then
abs-guide-10/HTML/contributed-scripts.html:228:  28&nbsp;     fname=`basename $filename`            # Strip off path.
abs-guide-10/HTML/contributed-scripts.html:229:  29&nbsp;     n=`echo $fname | sed -e "s/$1/$2/"`   # Substitute new for old in filename.
abs-guide-10/HTML/contributed-scripts.html-230-  30&nbsp;     mv $fname $n                          # Rename.
##############################################
abs-guide-10/HTML/contributed-scripts.html-290-  15&nbsp;       fname=$filename                      # Yes, this filename needs work.
abs-guide-10/HTML/contributed-scripts.html:291:  16&nbsp;       n=`echo $fname | sed -e "s/ /_/g"`   # Substitute underscore for blank.
abs-guide-10/HTML/contributed-scripts.html-292-  17&nbsp;       mv "$fname" "$n"                     # Do the actual renaming.
##############################################
abs-guide-10/HTML/contributed-scripts.html-341-  12&nbsp;then
abs-guide-10/HTML/contributed-scripts.html:342:  13&nbsp;  echo "Usage: `basename $0` filename"
abs-guide-10/HTML/contributed-scripts.html-343-  14&nbsp;  exit $E_BADARGS
##############################################
abs-guide-10/HTML/contributed-scripts.html-349-  20&nbsp;
abs-guide-10/HTML/contributed-scripts.html:350:  21&nbsp;Filename=`basename $1`  # Strips pathname out of file name.
abs-guide-10/HTML/contributed-scripts.html-351-  22&nbsp;
##############################################
abs-guide-10/HTML/contributed-scripts.html-355-  26&nbsp;
abs-guide-10/HTML/contributed-scripts.html:356:  27&nbsp;Password=`cruft &#60;$pword`          # Decrypt password.
abs-guide-10/HTML/contributed-scripts.html-357-  28&nbsp;#  Uses the author's own "cruft" file encryption package,
##############################################
abs-guide-10/HTML/contributed-scripts.html-603-  31&nbsp;{
abs-guide-10/HTML/contributed-scripts.html:604:  32&nbsp;  echo "Usage: `basename $0` [M]M/[D]D/YYYY [M]M/[D]D/YYYY"
abs-guide-10/HTML/contributed-scripts.html-605-  33&nbsp;  echo "       (date must be after 1/3/1600)"
##############################################
abs-guide-10/HTML/contributed-scripts.html-614-  42&nbsp;  day=${dm#*/}
abs-guide-10/HTML/contributed-scripts.html:615:  43&nbsp;  let "year = `basename $1`"  # Not a filename, but works just the same.
abs-guide-10/HTML/contributed-scripts.html-616-  44&nbsp;}  
##############################################
abs-guide-10/HTML/contributed-scripts.html-695- 123&nbsp;
abs-guide-10/HTML/contributed-scripts.html:696: 124&nbsp;let "date1 = `day_index $day $month $year`"
abs-guide-10/HTML/contributed-scripts.html-697- 125&nbsp;
##############################################
abs-guide-10/HTML/contributed-scripts.html-843-  24&nbsp;then
abs-guide-10/HTML/contributed-scripts.html:844:  25&nbsp;  echo "Usage: `basename $0` name"
abs-guide-10/HTML/contributed-scripts.html-845-  26&nbsp;  exit $E_WRONGARGS
##############################################
abs-guide-10/HTML/contributed-scripts.html-896-  77&nbsp;prefix0=${name:$char_pos:1}
abs-guide-10/HTML/contributed-scripts.html:897:  78&nbsp;prefix=`echo $prefix0 | tr a-z A-Z`
abs-guide-10/HTML/contributed-scripts.html-898-  79&nbsp;                               # Uppercase 1st letter of soundex.
##############################################
abs-guide-10/HTML/contributed-scripts.html-911-  92&nbsp;
abs-guide-10/HTML/contributed-scripts.html:912:  93&nbsp;char1=`echo $prefix | tr A-Z a-z`    # First letter of name, lowercased.
abs-guide-10/HTML/contributed-scripts.html-913-  94&nbsp;
##############################################
abs-guide-10/HTML/contributed-scripts.html-1103-  98&nbsp;declare -a arr
abs-guide-10/HTML/contributed-scripts.html:1104:  99&nbsp;arr=( `echo "$1"` )     # Convert passed arg to array.
abs-guide-10/HTML/contributed-scripts.html-1105- 100&nbsp;
##############################################
abs-guide-10/HTML/contributed-scripts.html-1212- 207&nbsp;
abs-guide-10/HTML/contributed-scripts.html:1213: 208&nbsp;  array=( `echo "$1"` )
abs-guide-10/HTML/contributed-scripts.html-1214- 209&nbsp;
##############################################
abs-guide-10/HTML/contributed-scripts.html-1275- 270&nbsp;
abs-guide-10/HTML/contributed-scripts.html:1276: 271&nbsp;array=( `echo "$1"` )     # Convert passed arg to array.
abs-guide-10/HTML/contributed-scripts.html-1277- 272&nbsp;
##############################################
abs-guide-10/HTML/contributed-scripts.html-1295- 290&nbsp;# Set variable to pass as parameter to "display" function.
abs-guide-10/HTML/contributed-scripts.html:1296: 291&nbsp;avar=`echo ${array[@]}`   # Convert array back to string variable.
abs-guide-10/HTML/contributed-scripts.html-1297- 292&nbsp;display "$avar"           # Display it.
##############################################
abs-guide-10/HTML/contributed-scripts.html-1338- 333&nbsp;# -------- Display first generation. --------
abs-guide-10/HTML/contributed-scripts.html:1339: 334&nbsp;Gen0=`echo ${initial[@]}`
abs-guide-10/HTML/contributed-scripts.html-1340- 335&nbsp;display "$Gen0"           # Display only.
##############################################
abs-guide-10/HTML/contributed-scripts.html-1350- 345&nbsp;# ------- Display second generation. -------
abs-guide-10/HTML/contributed-scripts.html:1351: 346&nbsp;Cur=`echo ${initial[@]}`
abs-guide-10/HTML/contributed-scripts.html-1352- 347&nbsp;next_gen "$Cur"          # Update &#38; display.
##############################################
abs-guide-10/HTML/contributed-scripts.html-1839-  29&nbsp;                          #     in order to indent.
abs-guide-10/HTML/contributed-scripts.html:1840:  30&nbsp;      zz=`expr $zz + 1`   # ==&#62; Increment zz.
abs-guide-10/HTML/contributed-scripts.html-1841-  31&nbsp;    done
##############################################
abs-guide-10/HTML/contributed-scripts.html-1843-  33&nbsp;    if [ -L "$dir" ] ; then # ==&#62; If directory is a symbolic link...
abs-guide-10/HTML/contributed-scripts.html:1844:  34&nbsp;      echo "+---$dir" `ls -l $dir | sed 's/^.*'$dir' //'`
abs-guide-10/HTML/contributed-scripts.html-1845-  35&nbsp;      # ==&#62; Display horiz. connector and list directory name, but...
##############################################
abs-guide-10/HTML/contributed-scripts.html-1849-  39&nbsp;      # ==&#62; and print directory name.
abs-guide-10/HTML/contributed-scripts.html:1850:  40&nbsp;      numdirs=`expr $numdirs + 1` # ==&#62; Increment directory count.
abs-guide-10/HTML/contributed-scripts.html-1851-  41&nbsp;      if cd "$dir" ; then         # ==&#62; If can move to subdirectory...
abs-guide-10/HTML/contributed-scripts.html:1852:  42&nbsp;        search `expr $1 + 1`      # with recursion ;-)
abs-guide-10/HTML/contributed-scripts.html-1853-  43&nbsp;        # ==&#62; Function calls itself.
##############################################
abs-guide-10/HTML/contributed-scripts.html-1931-  29&nbsp;PID=$$                            # Our own process ID.
abs-guide-10/HTML/contributed-scripts.html:1932:  30&nbsp;SELF=`basename $0`                # Our own program name.
abs-guide-10/HTML/contributed-scripts.html-1933-  31&nbsp;TMP="/tmp/${SELF}.${PID}.tmp"     # Temporary 'du' result.
##############################################
abs-guide-10/HTML/contributed-scripts.html-1952-  50&nbsp;  cnt=0
abs-guide-10/HTML/contributed-scripts.html:1953:  51&nbsp;  num=`echo "$LIST" | wc -l`      # How many entries in the list.
abs-guide-10/HTML/contributed-scripts.html-1954-  52&nbsp;
##############################################
abs-guide-10/HTML/contributed-scripts.html-1957-  55&nbsp;    ((cnt+=1))		          # Count entry number.
abs-guide-10/HTML/contributed-scripts.html:1958:  56&nbsp;    bname=`basename "$name"`      # We only need a basename of the entry.
abs-guide-10/HTML/contributed-scripts.html-1959-  57&nbsp;    [ -d "$name" ] &#38;&#38; bname="$bname/"
abs-guide-10/HTML/contributed-scripts.html-1960-  58&nbsp;                                  # If it's a directory, append a slash.
abs-guide-10/HTML/contributed-scripts.html:1961:  59&nbsp;    echo "`dot $size`$prefix +-$bname"
abs-guide-10/HTML/contributed-scripts.html-1962-  60&nbsp;                                  # Display the result.
##############################################
abs-guide-10/HTML/contributed-scripts.html-1996-  94&nbsp;     # Build a temporary list of all files/dirs and their size.
abs-guide-10/HTML/contributed-scripts.html:1997:  95&nbsp;size=`tail -1 "$TMP" | awk '{print $1}'`
abs-guide-10/HTML/contributed-scripts.html-1998-  96&nbsp;     # What is our rootdirectory's size?
abs-guide-10/HTML/contributed-scripts.html:1999:  97&nbsp;echo "`dot $size` $rootdir"
abs-guide-10/HTML/contributed-scripts.html-2000-  98&nbsp;     # Display rootdirectory's entry.
##############################################
abs-guide-10/HTML/contributed-scripts.html-3465-  80&nbsp;        #
abs-guide-10/HTML/contributed-scripts.html:3466:  81&nbsp;        if grep -q `basename $scsiDev`1 /proc/partitions; then
abs-guide-10/HTML/contributed-scripts.html-3467-  82&nbsp;            part="$scsiDev""1"
##############################################
abs-guide-10/HTML/contributed-scripts.html-3481-  96&nbsp;        #
abs-guide-10/HTML/contributed-scripts.html:3482:  97&nbsp;        prodid=`$DEVLABEL printid -d $part`
abs-guide-10/HTML/contributed-scripts.html-3483-  98&nbsp;        if ! grep -q $prodid $DEVLABELCONFIG; then
##############################################
abs-guide-10/HTML/contributed-scripts.html-3506- 121&nbsp;        #
abs-guide-10/HTML/contributed-scripts.html:3507: 122&nbsp;        mkdir -p `dirname $REMOVER`
abs-guide-10/HTML/contributed-scripts.html-3508- 123&nbsp;        ln -s $IAM $REMOVER
##############################################
abs-guide-10/HTML/contributed-scripts.html-3751-  36&nbsp;# Are we root?
abs-guide-10/HTML/contributed-scripts.html:3752:  37&nbsp;USER=`$ID -u`
abs-guide-10/HTML/contributed-scripts.html-3753-  38&nbsp;if [ "X$USER" != "X0" ]; then
##############################################
abs-guide-10/HTML/contributed-scripts.html-3768-  53&nbsp;    if [ -w $MYFILE ]; then
abs-guide-10/HTML/contributed-scripts.html:3769:  54&nbsp;      DTS=`$LS -lgo --time-style=+%Y%m%d $MYFILE | $COL -t | $CUT -d ' ' -f7`
abs-guide-10/HTML/contributed-scripts.html-3770-  55&nbsp;      $MV $MYFILE $BKP_DIR/$logfile.$DTS
##############################################
abs-guide-10/HTML/contributed-scripts.html-5596- 1455&nbsp;
abs-guide-10/HTML/contributed-scripts.html:5597: 1456&nbsp;# Execution engine is LIFO. Order of pend operations is important.
abs-guide-10/HTML/contributed-scripts.html-5598- 1457&nbsp;# Did we define any new addresses?
##############################################
abs-guide-10/HTML/contributed-scripts.html-5928- 1787&nbsp;    do
abs-guide-10/HTML/contributed-scripts.html:5929: 1788&nbsp;        echo 'Element '$_i' &#62;'${_la_lines[$_i]}'&#60;'
abs-guide-10/HTML/contributed-scripts.html-5930- 1789&nbsp;    done
##############################################
abs-guide-10/HTML/contributed-scripts.html-5991- 1850&nbsp;$_dot_dump                   # Graphics file dump
abs-guide-10/HTML/contributed-scripts.html:5992: 1851&nbsp;$_log_dump                   # Execution trace
abs-guide-10/HTML/contributed-scripts.html-5993- 1852&nbsp;echo
##############################################
abs-guide-10/HTML/contributed-scripts.html-6541- 198&nbsp;
abs-guide-10/HTML/contributed-scripts.html:6542: 199&nbsp;slash8=`echo $IPADDR | cut -d. -f 1`
abs-guide-10/HTML/contributed-scripts.html-6543- 200&nbsp;  if [ -z "$slash8" ]  # Yet another sanity check.
##############################################
abs-guide-10/HTML/contributed-scripts.html-6547- 204&nbsp;  fi
abs-guide-10/HTML/contributed-scripts.html:6548: 205&nbsp;slash16=`echo $IPADDR | cut -d. -f 1-2`
abs-guide-10/HTML/contributed-scripts.html-6549- 206&nbsp;#                             ^ Period specified as 'cut" delimiter.
##############################################
abs-guide-10/HTML/contributed-scripts.html-6554- 211&nbsp;  fi
abs-guide-10/HTML/contributed-scripts.html:6555: 212&nbsp;octet2=`echo $slash16 | cut -d. -f 2`
abs-guide-10/HTML/contributed-scripts.html-6556- 213&nbsp;  if [ -z "$octet2" ]
##############################################
abs-guide-10/HTML/contributed-scripts.html-8590-  17&nbsp;then
abs-guide-10/HTML/contributed-scripts.html:8591:  18&nbsp;  echo "Usage: `basename $0` FILENAME"
abs-guide-10/HTML/contributed-scripts.html-8592-  19&nbsp;  exit $E_WRONGARGS
##############################################
abs-guide-10/HTML/contributed-scripts.html-10397-  70&nbsp;    seconds=$1
abs-guide-10/HTML/contributed-scripts.html:10398:  71&nbsp;    mins=`echo $seconds/60 | bc`
abs-guide-10/HTML/contributed-scripts.html-10399-  72&nbsp;    if [ "$mins" != "0" ]; then
abs-guide-10/HTML/contributed-scripts.html:10400:  73&nbsp;        seconds=`echo "$seconds - ($mins*60)" | bc`
abs-guide-10/HTML/contributed-scripts.html-10401-  74&nbsp;        echo "$mins:$seconds"
##############################################
abs-guide-10/HTML/contributed-scripts.html-10408-  81&nbsp;    end=`now`
abs-guide-10/HTML/contributed-scripts.html:10409:  82&nbsp;    total=`echo "$end - $start" | bc`
abs-guide-10/HTML/contributed-scripts.html-10410-  83&nbsp;    fmt_seconds $total
##############################################
abs-guide-10/HTML/contributed-scripts.html-10419-  92&nbsp;lap() {
abs-guide-10/HTML/contributed-scripts.html:10420:  93&nbsp;    laptime=`echo "$1" | sed -n 's/.*real[^0-9.]*\(.*\)/\1/p'`
abs-guide-10/HTML/contributed-scripts.html-10421-  94&nbsp;    [ ! "$laptime" -o "$laptime" = "0.00" ] &#38;&#38; return
abs-guide-10/HTML/contributed-scripts.html-10422-  95&nbsp;    # Signals too frequent.
abs-guide-10/HTML/contributed-scripts.html:10423:  96&nbsp;    laptotal=`echo $laptime+0$laptotal | bc`
abs-guide-10/HTML/contributed-scripts.html-10424-  97&nbsp;    if [ "$2" = "display" ]; then
abs-guide-10/HTML/contributed-scripts.html:10425:  98&nbsp;        lapcount=`echo 0$lapcount+1 | bc`
abs-guide-10/HTML/contributed-scripts.html:10426:  99&nbsp;        laptime=`fmt_seconds $laptotal`
abs-guide-10/HTML/contributed-scripts.html-10427- 100&nbsp;        echo $laptime "($lapcount)"
##############################################
abs-guide-10/HTML/contributed-scripts.html-10838- 238&nbsp;  let "move1 = -$kt_skip + $ROWS"           # 2 sideways to-the-left,  1 up
abs-guide-10/HTML/contributed-scripts.html:10839: 239&nbsp;    if [[ `expr $row_pos - $kt_skip` -lt $MIN ]]   # An ugly, ugly kludge!
abs-guide-10/HTML/contributed-scripts.html-10840- 240&nbsp;    then                                           # Can't move off board.
##############################################
abs-guide-10/HTML/contributed-scripts.html-10845- 245&nbsp;  let "move2 = -$kt_hop + $kt_skip * $ROWS" # 1 sideways to-the-left,  2 up
abs-guide-10/HTML/contributed-scripts.html:10846: 246&nbsp;    if [[ `expr $row_pos - $kt_hop` -lt $MIN ]]    # Kludge continued ...
abs-guide-10/HTML/contributed-scripts.html-10847- 247&nbsp;    then
##############################################
abs-guide-10/HTML/contributed-scripts.html-10852- 252&nbsp;  let "move3 =  $kt_hop + $kt_skip * $ROWS" # 1 sideways to-the-right, 2 up
abs-guide-10/HTML/contributed-scripts.html:10853: 253&nbsp;    if [[ `expr $row_pos + $kt_hop` -ge $COLS ]]
abs-guide-10/HTML/contributed-scripts.html-10854- 254&nbsp;    then
##############################################
abs-guide-10/HTML/contributed-scripts.html-10859- 259&nbsp;  let "move4 =  $kt_skip + $ROWS"           # 2 sideways to-the-right, 1 up
abs-guide-10/HTML/contributed-scripts.html:10860: 260&nbsp;    if [[ `expr $row_pos + $kt_skip` -ge $COLS ]]
abs-guide-10/HTML/contributed-scripts.html-10861- 261&nbsp;    then
##############################################
abs-guide-10/HTML/contributed-scripts.html-10866- 266&nbsp;  let "move5 =  $kt_skip - $ROWS"           # 2 sideways to-the-right, 1 dn
abs-guide-10/HTML/contributed-scripts.html:10867: 267&nbsp;    if [[ `expr $row_pos + $kt_skip` -ge $COLS ]]
abs-guide-10/HTML/contributed-scripts.html-10868- 268&nbsp;    then
##############################################
abs-guide-10/HTML/contributed-scripts.html-10873- 273&nbsp;  let "move6 =  $kt_hop - $kt_skip * $ROWS" # 1 sideways to-the-right, 2 dn
abs-guide-10/HTML/contributed-scripts.html:10874: 274&nbsp;    if [[ `expr $row_pos + $kt_hop` -ge $COLS ]]
abs-guide-10/HTML/contributed-scripts.html-10875- 275&nbsp;    then
##############################################
abs-guide-10/HTML/contributed-scripts.html-10880- 280&nbsp;  let "move7 = -$kt_hop - $kt_skip * $ROWS" # 1 sideways to-the-left,  2 dn
abs-guide-10/HTML/contributed-scripts.html:10881: 281&nbsp;    if [[ `expr $row_pos - $kt_hop` -lt $MIN ]]
abs-guide-10/HTML/contributed-scripts.html-10882- 282&nbsp;    then
##############################################
abs-guide-10/HTML/contributed-scripts.html-10887- 287&nbsp;  let "move8 = -$kt_skip - $ROWS"           # 2 sideways to-the-left,  1 dn
abs-guide-10/HTML/contributed-scripts.html:10888: 288&nbsp;    if [[ `expr $row_pos - $kt_skip` -lt $MIN ]]
abs-guide-10/HTML/contributed-scripts.html-10889- 289&nbsp;    then
##############################################
abs-guide-10/HTML/contributed-scripts.html-11687- 120&nbsp;  # Get rod-number, summit and weight
abs-guide-10/HTML/contributed-scripts.html:11688: 121&nbsp;  first=( `FromRod $1` )
abs-guide-10/HTML/contributed-scripts.html-11689- 122&nbsp;  eval Rod${first[0]}[${first[1]}]=0
##############################################
abs-guide-10/HTML/contributed-scripts.html-11691- 124&nbsp;  # Get rod-number and first-free position
abs-guide-10/HTML/contributed-scripts.html:11692: 125&nbsp;  second=( `ToRod ${first[2]} $2` )
abs-guide-10/HTML/contributed-scripts.html-11693- 126&nbsp;  eval Rod${second[0]}[${second[1]}]=${first[2]}
##############################################
abs-guide-10/HTML/contributed-scripts.html-11924- 119&nbsp;  # Get rod-number, summit and weight
abs-guide-10/HTML/contributed-scripts.html:11925: 120&nbsp;  first=( `FromRod $1` )
abs-guide-10/HTML/contributed-scripts.html-11926- 121&nbsp;  eval Rod${first[0]}[${first[1]}]=0
##############################################
abs-guide-10/HTML/contributed-scripts.html-11928- 123&nbsp;  # Get rod-number and first-free position
abs-guide-10/HTML/contributed-scripts.html:11929: 124&nbsp;  second=( `ToRod ${first[2]} $2` )
abs-guide-10/HTML/contributed-scripts.html-11930- 125&nbsp;  eval Rod${second[0]}[${second[1]}]=${first[2]}
##############################################
abs-guide-10/HTML/contributed-scripts.html-12328-  16&nbsp;       do {
abs-guide-10/HTML/contributed-scripts.html:12329:  17&nbsp;          shownum=`echo "$offset + $T1 * ${num2} + $num1" | bc`
abs-guide-10/HTML/contributed-scripts.html-12330-  18&nbsp;          echo -en "\E[0;48;5;${shownum}m color ${shownum} \E[0m"
##############################################
abs-guide-10/HTML/contributed-scripts.html-12357-  45&nbsp;do {
abs-guide-10/HTML/contributed-scripts.html:12358:  46&nbsp;   shownum=`expr $offset + $num1`
abs-guide-10/HTML/contributed-scripts.html-12359-  47&nbsp;   echo -en "\E[0;48;5;${shownum}m ${shownum}\E[0m"
##############################################
abs-guide-10/HTML/contributed-scripts.html-14170-  17&nbsp;do
abs-guide-10/HTML/contributed-scripts.html:14171:  18&nbsp;  result=`expr "$i%2"`
abs-guide-10/HTML/contributed-scripts.html-14172-  19&nbsp;done
##############################################
abs-guide-10/HTML/arithexp.html-144-CLASS="PROGRAMLISTING"
abs-guide-10/HTML/arithexp.html:145:>   1&nbsp;z=`expr $z + 3`          # The 'expr' command performs the expansion.</PRE
abs-guide-10/HTML/arithexp.html-146-></TD
##############################################
abs-guide-10/HTML/special-chars.html-2472-  14&nbsp;then
abs-guide-10/HTML/special-chars.html:2473:  15&nbsp;  echo "Usage: `basename $0` rpm-file"
abs-guide-10/HTML/special-chars.html-2474-  16&nbsp;  exit $E_NOARGS
##############################################
abs-guide-10/HTML/procref1.html-562-  13&nbsp;then
abs-guide-10/HTML/procref1.html:563:  14&nbsp;  echo "Usage: `basename $0` PID-number" &#62;&#38;2  # Error message &#62;stderr.
abs-guide-10/HTML/procref1.html-564-  15&nbsp;  exit $E_WRONGARGS
##############################################
abs-guide-10/HTML/wrapper.html-217-  10&nbsp;# then
abs-guide-10/HTML/wrapper.html:218:  11&nbsp;#  echo "Usage: `basename $0` target-file"
abs-guide-10/HTML/wrapper.html-219-  12&nbsp;#  exit $E_NOARGS
##############################################
abs-guide-10/HTML/wrapper.html-278-  12&nbsp;then
abs-guide-10/HTML/wrapper.html:279:  13&nbsp;  echo "Usage: `basename $0` old-pattern new-pattern filename"
abs-guide-10/HTML/wrapper.html-280-  14&nbsp;  exit $E_BADARGS
##############################################
abs-guide-10/HTML/wrapper.html-456-  10&nbsp;then
abs-guide-10/HTML/wrapper.html:457:  11&nbsp;   echo "Usage: `basename $0` filename column-number"
abs-guide-10/HTML/wrapper.html-458-  12&nbsp;   exit $E_WRONGARGS
##############################################
abs-guide-10/HTML/functions.html-952-  10&nbsp;
abs-guide-10/HTML/functions.html:953:  11&nbsp;     x=`eval "expr \"$y\" "`
abs-guide-10/HTML/functions.html-954-  12&nbsp;     echo $1=$x
##############################################
abs-guide-10/HTML/functions.html-1268-  16&nbsp;then
abs-guide-10/HTML/functions.html:1269:  17&nbsp;  echo "Usage: `basename $0` number-to-convert"
abs-guide-10/HTML/functions.html-1270-  18&nbsp;  exit $E_ARG_ERR
##############################################
abs-guide-10/HTML/functions.html-1721-  14&nbsp;then
abs-guide-10/HTML/functions.html:1722:  15&nbsp;  echo "Usage: `basename $0` USERNAME"
abs-guide-10/HTML/functions.html-1723-  16&nbsp;  exit $E_WRONGARGS
##############################################
abs-guide-10/HTML/manipulatingvars.html-167-   3&nbsp;echo ${#stringZ}                 # 15
abs-guide-10/HTML/manipulatingvars.html:168:   4&nbsp;echo `expr length $stringZ`      # 15
abs-guide-10/HTML/manipulatingvars.html:169:   5&nbsp;echo `expr "$stringZ" : '.*'`    # 15</PRE
abs-guide-10/HTML/manipulatingvars.html-170-></TD
##############################################
abs-guide-10/HTML/manipulatingvars.html-280-   4&nbsp;
abs-guide-10/HTML/manipulatingvars.html:281:   5&nbsp;echo `expr match "$stringZ" 'abc[A-Z]*.2'`   # 8
abs-guide-10/HTML/manipulatingvars.html:282:   6&nbsp;echo `expr "$stringZ" : 'abc[A-Z]*.2'`       # 8</PRE
abs-guide-10/HTML/manipulatingvars.html-283-></TD
##############################################
abs-guide-10/HTML/manipulatingvars.html-318-   2&nbsp;#       123456 ...
abs-guide-10/HTML/manipulatingvars.html:319:   3&nbsp;echo `expr index "$stringZ" C12`             # 6
abs-guide-10/HTML/manipulatingvars.html-320-   4&nbsp;                                             # C position.
abs-guide-10/HTML/manipulatingvars.html-321-   5&nbsp;
abs-guide-10/HTML/manipulatingvars.html:322:   6&nbsp;echo `expr index "$stringZ" 1c`              # 3
abs-guide-10/HTML/manipulatingvars.html-323-   7&nbsp;# 'c' (in #3 position) matches before '1'.</PRE
##############################################
abs-guide-10/HTML/manipulatingvars.html-623-   4&nbsp;
abs-guide-10/HTML/manipulatingvars.html:624:   5&nbsp;echo `expr substr $stringZ 1 2`              # ab
abs-guide-10/HTML/manipulatingvars.html:625:   6&nbsp;echo `expr substr $stringZ 4 3`              # ABC</PRE
abs-guide-10/HTML/manipulatingvars.html-626-></TD
##############################################
abs-guide-10/HTML/manipulatingvars.html-697-   3&nbsp;
abs-guide-10/HTML/manipulatingvars.html:698:   4&nbsp;echo `expr match "$stringZ" '\(.[b-c]*[A-Z]..[0-9]\)'`   # abcABC1
abs-guide-10/HTML/manipulatingvars.html:699:   5&nbsp;echo `expr "$stringZ" : '\(.[b-c]*[A-Z]..[0-9]\)'`       # abcABC1
abs-guide-10/HTML/manipulatingvars.html:700:   6&nbsp;echo `expr "$stringZ" : '\(.......\)'`                   # abcABC1
abs-guide-10/HTML/manipulatingvars.html-701-   7&nbsp;# All of the above forms give an identical result.</PRE
##############################################
abs-guide-10/HTML/manipulatingvars.html-779-   3&nbsp;
abs-guide-10/HTML/manipulatingvars.html:780:   4&nbsp;echo `expr match "$stringZ" '.*\([A-C][A-C][A-C][a-c]*\)'`    # ABCabc
abs-guide-10/HTML/manipulatingvars.html:781:   5&nbsp;echo `expr "$stringZ" : '.*\(......\)'`                       # ABCabc</PRE
abs-guide-10/HTML/manipulatingvars.html-782-></TD
##############################################
abs-guide-10/HTML/manipulatingvars.html-1105-  19&nbsp;then
abs-guide-10/HTML/manipulatingvars.html:1106:  20&nbsp;  echo "Usage: `basename $0` [filename]"
abs-guide-10/HTML/manipulatingvars.html-1107-  21&nbsp;  exit $E_NOARGS
##############################################
abs-guide-10/HTML/here-docs.html-342-   9&nbsp;then
abs-guide-10/HTML/here-docs.html:343:  10&nbsp;  echo "Usage: `basename $0` filename"
abs-guide-10/HTML/here-docs.html-344-  11&nbsp;  exit $E_BADARGS
##############################################
abs-guide-10/HTML/here-docs.html-677-  14&nbsp;then
abs-guide-10/HTML/here-docs.html:678:  15&nbsp;  echo "Usage: `basename $0` Filename-to-upload"
abs-guide-10/HTML/here-docs.html-679-  16&nbsp;  exit $E_ARGERROR
##############################################
abs-guide-10/HTML/here-docs.html-682-  19&nbsp;
abs-guide-10/HTML/here-docs.html:683:  20&nbsp;Filename=`basename $1`           # Strips pathname out of file name.
abs-guide-10/HTML/here-docs.html-684-  21&nbsp;
##############################################
abs-guide-10/HTML/redircb.html-343-   9&nbsp;
abs-guide-10/HTML/redircb.html:344:  10&nbsp;line_count=`wc $Filename | awk '{ print $1 }'`
abs-guide-10/HTML/redircb.html-345-  11&nbsp;#           Number of lines in target file.
##############################################
abs-guide-10/HTML/redircb.html-353-  19&nbsp;
abs-guide-10/HTML/redircb.html:354:  20&nbsp;for name in `seq $line_count`  # Recall that "seq" prints sequence of numbers.
abs-guide-10/HTML/redircb.html-355-  21&nbsp;# while [ "$name" != Smith ]   --   more complicated than a "while" loop   --
##############################################
abs-guide-10/HTML/redircb.html-413-  12&nbsp;
abs-guide-10/HTML/redircb.html:414:  13&nbsp;line_count=`wc $Filename | awk '{ print $1 }'`  # Number of lines in target file.
abs-guide-10/HTML/redircb.html-415-  14&nbsp;
abs-guide-10/HTML/redircb.html-416-  15&nbsp;
abs-guide-10/HTML/redircb.html:417:  16&nbsp;for name in `seq $line_count`
abs-guide-10/HTML/redircb.html-418-  17&nbsp;do
##############################################
abs-guide-10/HTML/colorizing.html-306-  65&nbsp;
abs-guide-10/HTML/colorizing.html:307:  66&nbsp;BOX_HEIGHT=`expr $3 - 1`   #  -1 correction needed because angle char "+"
abs-guide-10/HTML/colorizing.html:308:  67&nbsp;BOX_WIDTH=`expr $4 - 1`    #+ is a part of both box height and width.
abs-guide-10/HTML/colorizing.html-309-  68&nbsp;T_ROWS=`tput lines`        #  Define current terminal dimension 
##############################################
abs-guide-10/HTML/colorizing.html-317-  76&nbsp;fi
abs-guide-10/HTML/colorizing.html:318:  77&nbsp;if [ `expr $1 + $BOX_HEIGHT + 1` -gt $T_ROWS ]; then
abs-guide-10/HTML/colorizing.html-319-  78&nbsp;   exit $E_BADARGS
abs-guide-10/HTML/colorizing.html-320-  79&nbsp;fi
abs-guide-10/HTML/colorizing.html:321:  80&nbsp;if [ `expr $2 + $BOX_WIDTH + 1` -gt $T_COLS ]; then
abs-guide-10/HTML/colorizing.html-322-  81&nbsp;   exit $E_BADARGS
##############################################
abs-guide-10/HTML/colorizing.html-342- 101&nbsp;count=1
abs-guide-10/HTML/colorizing.html:343: 102&nbsp;c=`expr $2 + $BOX_WIDTH`
abs-guide-10/HTML/colorizing.html-344- 103&nbsp;for (( r=$1; count&#60;=$BOX_HEIGHT; r++)); do
##############################################
abs-guide-10/HTML/colorizing.html-355- 114&nbsp;count=1
abs-guide-10/HTML/colorizing.html:356: 115&nbsp;r=`expr $1 + $BOX_HEIGHT`
abs-guide-10/HTML/colorizing.html-357- 116&nbsp;for (( c=$2; count&#60;=$BOX_WIDTH; c++)); do
##############################################
abs-guide-10/HTML/colorizing.html-362- 121&nbsp;plot_char $1 $2 $CORNER_CHAR                   # Draw box angles.
abs-guide-10/HTML/colorizing.html:363: 122&nbsp;plot_char $1 `expr $2 + $BOX_WIDTH` $CORNER_CHAR
abs-guide-10/HTML/colorizing.html:364: 123&nbsp;plot_char `expr $1 + $BOX_HEIGHT` $2 $CORNER_CHAR
abs-guide-10/HTML/colorizing.html:365: 124&nbsp;plot_char `expr $1 + $BOX_HEIGHT` `expr $2 + $BOX_WIDTH` $CORNER_CHAR
abs-guide-10/HTML/colorizing.html-366- 125&nbsp;
##############################################
abs-guide-10/HTML/colorizing.html-368- 127&nbsp;
abs-guide-10/HTML/colorizing.html:369: 128&nbsp;P_ROWS=`expr $T_ROWS - 1`    #  Put the prompt at bottom of the terminal.
abs-guide-10/HTML/colorizing.html-370- 129&nbsp;
##############################################
abs-guide-10/HTML/colorizing.html-1067-  94&nbsp;if [ $N_COLS -lt 80 ] || [ $N_LINES -lt 20 ]; then
abs-guide-10/HTML/colorizing.html:1068:  95&nbsp;   echo "`basename $0` needs a 80-cols X 20-lines terminal."
abs-guide-10/HTML/colorizing.html-1069-  96&nbsp;   echo "Your terminal is ${N_COLS}-cols X ${N_LINES}-lines."
##############################################
abs-guide-10/HTML/colorizing.html-1176- 203&nbsp;      # Define last handicap position for horse. 
abs-guide-10/HTML/colorizing.html:1177: 204&nbsp;      LHP=`expr $HANDICAP \* 7 + 3`
abs-guide-10/HTML/colorizing.html:1178: 205&nbsp;      for FILE in `seq 10 7 $LHP`; do
abs-guide-10/HTML/colorizing.html-1179- 206&nbsp;            echo $HN &#62;&#62; $FILE
##############################################
abs-guide-10/HTML/colorizing.html-1183- 210&nbsp;      case $HANDICAP in 
abs-guide-10/HTML/colorizing.html:1184: 211&nbsp;              1) ODDS=`echo $HANDICAP \* 0.25 + 1.25 | bc`
abs-guide-10/HTML/colorizing.html-1185- 212&nbsp;                                 echo $ODDS &#62; odds_${HN}
abs-guide-10/HTML/colorizing.html-1186- 213&nbsp;              ;;
abs-guide-10/HTML/colorizing.html:1187: 214&nbsp;              2 | 3) ODDS=`echo $HANDICAP \* 0.40 + 1.25 | bc`
abs-guide-10/HTML/colorizing.html-1188- 215&nbsp;                                       echo $ODDS &#62; odds_${HN}
abs-guide-10/HTML/colorizing.html-1189- 216&nbsp;              ;;
abs-guide-10/HTML/colorizing.html:1190: 217&nbsp;              4 | 5 | 6) ODDS=`echo $HANDICAP \* 0.55 + 1.25 | bc`
abs-guide-10/HTML/colorizing.html-1191- 218&nbsp;                                             echo $ODDS &#62; odds_${HN}
abs-guide-10/HTML/colorizing.html-1192- 219&nbsp;              ;; 
abs-guide-10/HTML/colorizing.html:1193: 220&nbsp;              7 | 8) ODDS=`echo $HANDICAP \* 0.75 + 1.25 | bc`
abs-guide-10/HTML/colorizing.html-1194- 221&nbsp;                                       echo $ODDS &#62; odds_${HN}
abs-guide-10/HTML/colorizing.html-1195- 222&nbsp;              ;; 
abs-guide-10/HTML/colorizing.html:1196: 223&nbsp;              9) ODDS=`echo $HANDICAP \* 0.90 + 1.25 | bc`
abs-guide-10/HTML/colorizing.html-1197- 224&nbsp;                                  echo $ODDS &#62; odds_${HN}
##############################################
abs-guide-10/HTML/colorizing.html-1208- 235&nbsp;for HN in `seq 9`; do
abs-guide-10/HTML/colorizing.html:1209: 236&nbsp;      echo "#$HN odds-&#62;" `cat odds_${HN}`
abs-guide-10/HTML/colorizing.html-1210- 237&nbsp;done
##############################################
abs-guide-10/HTML/colorizing.html-1264- 291&nbsp;          # Define old type and position of the "randomized horse".
abs-guide-10/HTML/colorizing.html:1265: 292&nbsp;          HORSE_TYPE=`cat  horse_${MOVE_HORSE}_position | tail -n 1`
abs-guide-10/HTML/colorizing.html:1266: 293&nbsp;          COL=$(expr `cat  horse_${MOVE_HORSE}_position | head -n 1`)
abs-guide-10/HTML/colorizing.html-1267- 294&nbsp;          
##############################################
abs-guide-10/HTML/colorizing.html-1279- 306&nbsp;          fi
abs-guide-10/HTML/colorizing.html:1280: 307&nbsp;          COL=`expr $COL + $ADD_POS`
abs-guide-10/HTML/colorizing.html-1281- 308&nbsp;          echo $COL &#62;  horse_${MOVE_HORSE}_position  # Store new position.
##############################################
abs-guide-10/HTML/colorizing.html-1295- 322&nbsp;          # Move the cursor to new horse position.
abs-guide-10/HTML/colorizing.html:1296: 323&nbsp;          tput cup `expr $MOVE_HORSE + 5` \
abs-guide-10/HTML/colorizing.html:1297: 324&nbsp;	  `cat  horse_${MOVE_HORSE}_position | head -n 1` 
abs-guide-10/HTML/colorizing.html-1298- 325&nbsp;          
##############################################
abs-guide-10/HTML/colorizing.html-1318- 345&nbsp;          tput cup 17 0
abs-guide-10/HTML/colorizing.html:1319: 346&nbsp;          echo -n Current leader: `grep -w $HIGHEST_POS *position | cut -c7`\
abs-guide-10/HTML/colorizing.html-1320- 347&nbsp;	  "                              "
##############################################
abs-guide-10/HTML/colorizing.html-1331- 358&nbsp;# Make the winning horse blink.
abs-guide-10/HTML/colorizing.html:1332: 359&nbsp;tput cup `expr $MOVE_HORSE + 5` \
abs-guide-10/HTML/colorizing.html:1333: 360&nbsp;`cat  horse_${MOVE_HORSE}_position | head -n 1`
abs-guide-10/HTML/colorizing.html-1334- 361&nbsp;$DRAW_HORSE
##############################################
abs-guide-10/HTML/colorizing.html-1347- 374&nbsp;tput cup 17 0
abs-guide-10/HTML/colorizing.html:1348: 375&nbsp;echo -e "\E[5mWINNER: $MOVE_HORSE\E[25m""  Odds: `cat odds_${MOVE_HORSE}`"\
abs-guide-10/HTML/colorizing.html:1349: 376&nbsp;"  Race time: `expr $FINISH_TIME - $START_TIME` secs"
abs-guide-10/HTML/colorizing.html-1350- 377&nbsp;
##############################################
abs-guide-10/HTML/assortedtips.html-157-  27&nbsp;# Line 12 becomes:
abs-guide-10/HTML/assortedtips.html:158:  28&nbsp;  echo "Usage: `basename $0` name"</PRE
abs-guide-10/HTML/assortedtips.html-159-></TD
##############################################
abs-guide-10/HTML/assortedtips.html-382-  29&nbsp;
abs-guide-10/HTML/assortedtips.html:383:  30&nbsp;  echo "Usage: `basename $0` "$msg""
abs-guide-10/HTML/assortedtips.html-384-  31&nbsp;}  
##############################################
abs-guide-10/HTML/assortedtips.html-452-  99&nbsp;#    oldvar="A seT of miXed-caSe LEtTerS"
abs-guide-10/HTML/assortedtips.html:453: 100&nbsp;#    newvar=`tolower "$oldvar"`
abs-guide-10/HTML/assortedtips.html-454- 101&nbsp;#    echo "$newvar"    # a set of mixed-case letters
##############################################
abs-guide-10/HTML/assortedtips.html-680-  11&nbsp;then
abs-guide-10/HTML/assortedtips.html:681:  12&nbsp;  echo "Usage: `basename $0` integer-input"
abs-guide-10/HTML/assortedtips.html-682-  13&nbsp;  exit $E_BADINPUT
##############################################
abs-guide-10/HTML/assortedtips.html-758-  18&nbsp;mult1=15383; mult2=25211
abs-guide-10/HTML/assortedtips.html:759:  19&nbsp;val1=`multiply $mult1 $mult2`
abs-guide-10/HTML/assortedtips.html-760-  20&nbsp;# Assigns stdout (echo) of function to the variable val1.
##############################################
abs-guide-10/HTML/assortedtips.html-763-  23&nbsp;mult1=25; mult2=5; mult3=20
abs-guide-10/HTML/assortedtips.html:764:  24&nbsp;val2=`multiply $mult1 $mult2 $mult3`
abs-guide-10/HTML/assortedtips.html-765-  25&nbsp;echo "$mult1 X $mult2 X $mult3 = $val2"          # 2500
##############################################
abs-guide-10/HTML/assortedtips.html-767-  27&nbsp;mult1=188; mult2=37; mult3=25; mult4=47
abs-guide-10/HTML/assortedtips.html:768:  28&nbsp;val3=`multiply $mult1 $mult2 $mult3 $mult4`
abs-guide-10/HTML/assortedtips.html-769-  29&nbsp;echo "$mult1 X $mult2 X $mult3 X $mult4 = $val3" # 8173300
##############################################
abs-guide-10/HTML/assortedtips.html-799-   8&nbsp;
abs-guide-10/HTML/assortedtips.html:800:   9&nbsp;  FirstChar=`echo "$firstchar" | tr a-z A-Z`
abs-guide-10/HTML/assortedtips.html-801-  10&nbsp;                             # Capitalize first character.
##############################################
abs-guide-10/HTML/assortedtips.html-855-  19&nbsp;
abs-guide-10/HTML/assortedtips.html:856:  20&nbsp;retval=`sum_and_product $first $second`      # Assigns output of function.
abs-guide-10/HTML/assortedtips.html:857:  21&nbsp;sum=`echo "$retval" | awk '{print $1}'`      # Assigns first field.
abs-guide-10/HTML/assortedtips.html:858:  22&nbsp;product=`echo "$retval" | awk '{print $2}'`  # Assigns second field.
abs-guide-10/HTML/assortedtips.html-859-  23&nbsp;
##############################################
abs-guide-10/HTML/assortedtips.html-915-   6&nbsp;...
abs-guide-10/HTML/assortedtips.html:916:   7&nbsp;retval=`sum_and_product $first $second`      # Assigns output of function.
abs-guide-10/HTML/assortedtips.html-917-   8&nbsp;# Now, this will not work correctly.</PRE
##############################################
abs-guide-10/HTML/assortedtips.html-995-   8&nbsp;  local passed_array   # Local variable!
abs-guide-10/HTML/assortedtips.html:996:   9&nbsp;  passed_array=( `echo "$1"` )
abs-guide-10/HTML/assortedtips.html-997-  10&nbsp;  echo "${passed_array[@]}"
##############################################
abs-guide-10/HTML/assortedtips.html-1011-  24&nbsp;# **********************************
abs-guide-10/HTML/assortedtips.html:1012:  25&nbsp;argument=`echo ${original_array[@]}`
abs-guide-10/HTML/assortedtips.html-1013-  26&nbsp;# **********************************
##############################################
abs-guide-10/HTML/assortedtips.html-1021-  34&nbsp;# *****************************************
abs-guide-10/HTML/assortedtips.html:1022:  35&nbsp;returned_array=( `Pass_Array "$argument"` )
abs-guide-10/HTML/assortedtips.html-1023-  36&nbsp;# *****************************************
##############################################
abs-guide-10/HTML/filearchiv.html-705-  14&nbsp;then
abs-guide-10/HTML/filearchiv.html:706:  15&nbsp;  echo "Usage: `basename $0` source destination"
abs-guide-10/HTML/filearchiv.html-707-  16&nbsp;  exit $E_BADARGS
##############################################
abs-guide-10/HTML/filearchiv.html-774-   3&nbsp;
abs-guide-10/HTML/filearchiv.html:775:   4&nbsp;: ${1?"Usage: `basename $0` target-file"}
abs-guide-10/HTML/filearchiv.html-776-   5&nbsp;# Must specify 'rpm' archive name as an argument.
##############################################
abs-guide-10/HTML/filearchiv.html-1521-   9&nbsp;then
abs-guide-10/HTML/filearchiv.html:1522:  10&nbsp;  echo "Usage: `basename $0` C-program-file" &#62;&#38;2 # Error message to stderr.
abs-guide-10/HTML/filearchiv.html-1523-  11&nbsp;  exit $E_ARGERROR
##############################################
abs-guide-10/HTML/filearchiv.html-1526-  14&nbsp;# Test for correct file type.
abs-guide-10/HTML/filearchiv.html:1527:  15&nbsp;type=`file $1 | awk '{ print $2, $3, $4, $5 }'`
abs-guide-10/HTML/filearchiv.html-1528-  16&nbsp;# "file $1" echoes file type . . .
##############################################
abs-guide-10/HTML/filearchiv.html-1567-  55&nbsp;usage() {
abs-guide-10/HTML/filearchiv.html:1568:  56&nbsp;  echo "Usage: `basename $0` C-program-file" &#62;&#38;2
abs-guide-10/HTML/filearchiv.html-1569-  57&nbsp;  exit 1
##############################################
abs-guide-10/HTML/filearchiv.html-1573-  61&nbsp;[[ $# -eq 1 ]] || usage
abs-guide-10/HTML/filearchiv.html:1574:  62&nbsp;case `file "$1"` in
abs-guide-10/HTML/filearchiv.html-1575-  63&nbsp;  *"C program text"*) sed -e "s%/\*%${WEIRD}%g;s%\*/%${WEIRD}%g" "$1" \
##############################################
abs-guide-10/HTML/filearchiv.html-1780-   9&nbsp;do
abs-guide-10/HTML/filearchiv.html:1781:  10&nbsp;  whatis `basename $file`   # Echoes info about the binary.
abs-guide-10/HTML/filearchiv.html-1782-  11&nbsp;done
##############################################
abs-guide-10/HTML/filearchiv.html-2178-  16&nbsp;then
abs-guide-10/HTML/filearchiv.html:2179:  17&nbsp;  echo "Usage: `basename $0` filename"
abs-guide-10/HTML/filearchiv.html-2180-  18&nbsp;  exit $E_BADARGS
##############################################
abs-guide-10/HTML/filearchiv.html-2798-   9&nbsp;then
abs-guide-10/HTML/filearchiv.html:2799:  10&nbsp;  echo "Usage: `basename $0` file1 file2"
abs-guide-10/HTML/filearchiv.html-2800-  11&nbsp;  exit $E_BADARGS
##############################################
abs-guide-10/HTML/filearchiv.html-3031-CLASS="PROGRAMLISTING"
abs-guide-10/HTML/filearchiv.html:3032:>   1&nbsp;echo "Usage: `basename $0` arg1 arg2 ... argn"</PRE
abs-guide-10/HTML/filearchiv.html-3033-></TD
##############################################
abs-guide-10/HTML/filearchiv.html-3117-   4&nbsp;
abs-guide-10/HTML/filearchiv.html:3118:   5&nbsp;echo "Basename of /home/bozo/daily-journal.txt = `basename $address`"
abs-guide-10/HTML/filearchiv.html:3119:   6&nbsp;echo "Dirname of /home/bozo/daily-journal.txt = `dirname $address`"
abs-guide-10/HTML/filearchiv.html-3120-   7&nbsp;echo
##############################################
abs-guide-10/HTML/filearchiv.html-3496-  59&nbsp;
abs-guide-10/HTML/filearchiv.html:3497:  60&nbsp;        elif [ "`basename ${filename[n]}`" != "$dbfile" ]
abs-guide-10/HTML/filearchiv.html-3498-  61&nbsp;               #  Skip over checksum database file,
##############################################
abs-guide-10/HTML/filearchiv.html-3729-   7&nbsp;do
abs-guide-10/HTML/filearchiv.html:3730:   8&nbsp;  search1=`head -n $lines $File | grep begin | wc -w`
abs-guide-10/HTML/filearchiv.html:3731:   9&nbsp;  search2=`tail -n $lines $File | grep end | wc -w`
abs-guide-10/HTML/filearchiv.html-3732-  10&nbsp;  #  Uuencoded files have a "begin" near the beginning,
##############################################
abs-guide-10/HTML/filearchiv.html-4098->   1&nbsp;PREFIX=filename
abs-guide-10/HTML/filearchiv.html:4099:   2&nbsp;tempfile=`mktemp $PREFIX.XXXXXX`
abs-guide-10/HTML/filearchiv.html-4100-   3&nbsp;#                        ^^^^^^ Need at least 6 placeholders
##############################################
abs-guide-10/HTML/debugging.html-926-  33&nbsp;  #  Necessary, since newer kernels generate many log messages at log on.
abs-guide-10/HTML/debugging.html:927:  34&nbsp;  search=`grep $KEYWORD $TEMPFILE`
abs-guide-10/HTML/debugging.html-928-  35&nbsp;  #  Checks for presence of the "IP address" phrase,
##############################################
abs-guide-10/HTML/debugging.html-1258- 106&nbsp;then
abs-guide-10/HTML/debugging.html:1259: 107&nbsp;  echo "Usage: `basename $0` number_of_processes [passed params]"
abs-guide-10/HTML/debugging.html-1260- 108&nbsp;  exit $E_BADARGS
##############################################
abs-guide-10/HTML/comparison-ops.html-870-  12&nbsp;then
abs-guide-10/HTML/comparison-ops.html:871:  13&nbsp;  echo "Usage: `basename $0` filename" &#62;&#38;2
abs-guide-10/HTML/comparison-ops.html-872-  14&nbsp;  # Error message to stderr.
##############################################
abs-guide-10/HTML/scrstyle.html-254-CLASS="PROGRAMLISTING"
abs-guide-10/HTML/scrstyle.html:255:>   1&nbsp;fl=`ls -al $dirname`                 # Cryptic.
abs-guide-10/HTML/scrstyle.html:256:   2&nbsp;file_listing=`ls -al $dirname`       # Better.
abs-guide-10/HTML/scrstyle.html-257-   3&nbsp;
##############################################
abs-guide-10/HTML/localvar.html-591-  18&nbsp;then
abs-guide-10/HTML/localvar.html:592:  19&nbsp;  echo "Usage: `basename $0` number"
abs-guide-10/HTML/localvar.html-593-  20&nbsp;  exit $E_WRONG_ARGS
##############################################
abs-guide-10/HTML/sha-bang.html-297-  43&nbsp;#    ""      ) lines=50;;
abs-guide-10/HTML/sha-bang.html:298:  44&nbsp;#    *[!0-9]*) echo "Usage: `basename $0` lines-to-cleanup";
abs-guide-10/HTML/sha-bang.html-299-  45&nbsp;#     exit $E_WRONGARGS;;
##############################################
abs-guide-10/HTML/sha-bang.html-584-   6&nbsp;then
abs-guide-10/HTML/sha-bang.html:585:   7&nbsp;  echo "Usage: `basename $0` $script_parameters"
abs-guide-10/HTML/sha-bang.html:586:   8&nbsp;  # `basename $0` is the script's filename.
abs-guide-10/HTML/sha-bang.html-587-   9&nbsp;  exit $E_WRONG_ARGS
##############################################
abs-guide-10/HTML/communications.html-413-   9&nbsp;then
abs-guide-10/HTML/communications.html:414:  10&nbsp;  echo "Usage: `basename $0` domain-name"
abs-guide-10/HTML/communications.html-415-  11&nbsp;  exit $E_WRONGARGS
##############################################
abs-guide-10/HTML/communications.html-772-   4&nbsp;
abs-guide-10/HTML/communications.html:773:   5&nbsp;if [[ `ping -c $count "$HNAME"` ]]
abs-guide-10/HTML/communications.html-774-   6&nbsp;then
##############################################
abs-guide-10/HTML/communications.html-1246-   7&nbsp;if [ -z "$1" ]  # Must specify a stock (symbol) to fetch.
abs-guide-10/HTML/communications.html:1247:   8&nbsp;  then echo "Usage: `basename $0` stock-symbol"
abs-guide-10/HTML/communications.html-1248-   9&nbsp;  exit $E_NOPARAMS
##############################################
abs-guide-10/HTML/communications.html-2060-  14&nbsp;# ============================================================================
abs-guide-10/HTML/communications.html:2061:  15&nbsp;  cat $0 | mail -s "Script \"`basename $0`\" has mailed itself to you." "$adr"
abs-guide-10/HTML/communications.html-2062-  16&nbsp;# ============================================================================
##############################################
abs-guide-10/HTML/communications.html-2071-  25&nbsp;
abs-guide-10/HTML/communications.html:2072:  26&nbsp;echo "At `date`, script \"`basename $0`\" mailed to "$adr"."
abs-guide-10/HTML/communications.html-2073-  27&nbsp;
##############################################
abs-guide-10/HTML/moreadv.html-356-   6&nbsp;do
abs-guide-10/HTML/moreadv.html:357:   7&nbsp;  badname=`echo "$filename" | sed -n /[\+\{\;\"\\\=\?~\(\)\&#60;\&#62;\&#38;\*\|\$]/p`
abs-guide-10/HTML/moreadv.html:358:   8&nbsp;# badname=`echo "$filename" | sed -n '/[+{;"\=?~()&#60;&#62;&#38;*|$]/p'`  also works.
abs-guide-10/HTML/moreadv.html-359-   9&nbsp;# Deletes files containing these nasties:     + { ; " \ = ? ~ ( ) &#60; &#62; &#38; * | $
##############################################
abs-guide-10/HTML/moreadv.html-419-  13&nbsp;then
abs-guide-10/HTML/moreadv.html:420:  14&nbsp;  echo "Usage: `basename $0` filename"
abs-guide-10/HTML/moreadv.html-421-  15&nbsp;  exit $E_WRONGARGS
##############################################
abs-guide-10/HTML/moreadv.html-429-  23&nbsp;
abs-guide-10/HTML/moreadv.html:430:  24&nbsp;inum=`ls -i | grep "$1" | awk '{print $1}'`
abs-guide-10/HTML/moreadv.html-431-  25&nbsp;# inum = inode (index node) number of file
##############################################
abs-guide-10/HTML/moreadv.html-1039-  10&nbsp;then
abs-guide-10/HTML/moreadv.html:1040:  11&nbsp;  echo "Usage: `basename $0` directory-to-copy-to"
abs-guide-10/HTML/moreadv.html-1041-  12&nbsp;  exit $E_NOARGS
##############################################
abs-guide-10/HTML/moreadv.html-1098-  18&nbsp;then
abs-guide-10/HTML/moreadv.html:1099:  19&nbsp;  echo "Usage: `basename $0` Process(es)_to_kill"
abs-guide-10/HTML/moreadv.html-1100-  20&nbsp;  exit $E_BADARGS
##############################################
abs-guide-10/HTML/moreadv.html-1160-  15&nbsp;then
abs-guide-10/HTML/moreadv.html:1161:  16&nbsp;  echo "Usage: `basename $0` filename"
abs-guide-10/HTML/moreadv.html-1162-  17&nbsp;  exit $E_BADARGS
##############################################
abs-guide-10/HTML/moreadv.html-1279-><B
abs-guide-10/HTML/moreadv.html:1280:>y=`expr $y + 1`</B
abs-guide-10/HTML/moreadv.html-1281-></TT
##############################################
abs-guide-10/HTML/moreadv.html-1356-  15&nbsp;
abs-guide-10/HTML/moreadv.html:1357:  16&nbsp;a=`expr $a + 1`
abs-guide-10/HTML/moreadv.html-1358-  17&nbsp;echo
##############################################
abs-guide-10/HTML/moreadv.html-1380-  39&nbsp;y=25
abs-guide-10/HTML/moreadv.html:1381:  40&nbsp;b=`expr $x = $y`         # Test equality.
abs-guide-10/HTML/moreadv.html-1382-  41&nbsp;echo "b = $b"            # 0  ( $x -ne $y )
##############################################
abs-guide-10/HTML/moreadv.html-1385-  44&nbsp;a=3
abs-guide-10/HTML/moreadv.html:1386:  45&nbsp;b=`expr $a \&#62; 10`
abs-guide-10/HTML/moreadv.html:1387:  46&nbsp;echo 'b=`expr $a \&#62; 10`, therefore...'
abs-guide-10/HTML/moreadv.html-1388-  47&nbsp;echo "If a &#62; 10, b = 0 (false)"
##############################################
abs-guide-10/HTML/moreadv.html-1391-  50&nbsp;
abs-guide-10/HTML/moreadv.html:1392:  51&nbsp;b=`expr $a \&#60; 10`
abs-guide-10/HTML/moreadv.html-1393-  52&nbsp;echo "If a &#60; 10, b = 1 (true)"
##############################################
abs-guide-10/HTML/moreadv.html-1397-  56&nbsp;
abs-guide-10/HTML/moreadv.html:1398:  57&nbsp;b=`expr $a \&#60;= 3`
abs-guide-10/HTML/moreadv.html-1399-  58&nbsp;echo "If a &#60;= 3, b = 1 (true)"
##############################################
abs-guide-10/HTML/moreadv.html-1418-  77&nbsp;# length: length of string
abs-guide-10/HTML/moreadv.html:1419:  78&nbsp;b=`expr length $a`
abs-guide-10/HTML/moreadv.html-1420-  79&nbsp;echo "Length of \"$a\" is $b."
##############################################
abs-guide-10/HTML/moreadv.html-1423-  82&nbsp;#        that matches a character in string
abs-guide-10/HTML/moreadv.html:1424:  83&nbsp;b=`expr index $a 23`
abs-guide-10/HTML/moreadv.html-1425-  84&nbsp;echo "Numerical position of first \"2\" in \"$a\" is \"$b\"."
##############################################
abs-guide-10/HTML/moreadv.html-1427-  86&nbsp;# substr: extract substring, starting position &#38; length specified
abs-guide-10/HTML/moreadv.html:1428:  87&nbsp;b=`expr substr $a 2 6`
abs-guide-10/HTML/moreadv.html-1429-  88&nbsp;echo "Substring of \"$a\", starting at position 2,\
##############################################
abs-guide-10/HTML/moreadv.html-1436-  95&nbsp;#       Using Regular Expressions ...
abs-guide-10/HTML/moreadv.html:1437:  96&nbsp;b=`expr match "$a" '[0-9]*'`               #  Numerical count.
abs-guide-10/HTML/moreadv.html-1438-  97&nbsp;echo Number of digits at the beginning of \"$a\" is $b.
abs-guide-10/HTML/moreadv.html:1439:  98&nbsp;b=`expr match "$a" '\([0-9]*\)'`           #  Note that escaped parentheses
abs-guide-10/HTML/moreadv.html-1440-  99&nbsp;#                   ==      ==             #+ trigger substring match.
##############################################
abs-guide-10/HTML/moreadv.html-1483-><B
abs-guide-10/HTML/moreadv.html:1484:>b=`expr $a : [0-9]*`</B
abs-guide-10/HTML/moreadv.html-1485-></TT
##############################################
abs-guide-10/HTML/moreadv.html-1511-   9&nbsp;
abs-guide-10/HTML/moreadv.html:1512:  10&nbsp;echo "The string being operated upon is \"`expr "$a" : '\(.*\)'`\"."
abs-guide-10/HTML/moreadv.html-1513-  11&nbsp;#     Escaped parentheses grouping operator.            ==  ==
##############################################
abs-guide-10/HTML/moreadv.html-1523-  21&nbsp;
abs-guide-10/HTML/moreadv.html:1524:  22&nbsp;echo "Length of \"$a\" is `expr "$a" : '.*'`."   # Length of string
abs-guide-10/HTML/moreadv.html-1525-  23&nbsp;
abs-guide-10/HTML/moreadv.html:1526:  24&nbsp;echo "Number of digits at the beginning of \"$a\" is `expr "$a" : '[0-9]*'`."
abs-guide-10/HTML/moreadv.html-1527-  25&nbsp;
##############################################
abs-guide-10/HTML/moreadv.html-1531-  29&nbsp;
abs-guide-10/HTML/moreadv.html:1532:  30&nbsp;echo "The digits at the beginning of \"$a\" are `expr "$a" : '\([0-9]*\)'`."
abs-guide-10/HTML/moreadv.html-1533-  31&nbsp;#                                                             ==      ==
abs-guide-10/HTML/moreadv.html:1534:  32&nbsp;echo "The first 7 characters of \"$a\" are `expr "$a" : '\(.......\)'`."
abs-guide-10/HTML/moreadv.html-1535-  33&nbsp;#         =====                                          ==       ==
##############################################
abs-guide-10/HTML/moreadv.html-1537-  35&nbsp;#
abs-guide-10/HTML/moreadv.html:1538:  36&nbsp;echo "The last 7 characters of \"$a\" are `expr "$a" : '.*\(.......\)'`."
abs-guide-10/HTML/moreadv.html-1539-  37&nbsp;#         ====                  end of string operator  ^^
##############################################
abs-guide-10/HTML/moreadv.html-1586->   1&nbsp;# Strip the whitespace from the beginning and end.
abs-guide-10/HTML/moreadv.html:1587:   2&nbsp;LRFDATE=`expr "$LRFDATE" : '[[:space:]]*\(.*\)[[:space:]]*$'`
abs-guide-10/HTML/moreadv.html-1588-   3&nbsp;
##############################################
abs-guide-10/HTML/commandsub.html-139-CLASS="PROGRAMLISTING"
abs-guide-10/HTML/commandsub.html:140:>   1&nbsp;script_name=`basename $0`
abs-guide-10/HTML/commandsub.html-141-   2&nbsp;echo "The name of this script is $script_name."</PRE
##############################################
abs-guide-10/HTML/commandsub.html-431-   9&nbsp;#  It is not necessary to explicitly assign a variable.
abs-guide-10/HTML/commandsub.html:432:  10&nbsp;echo "` &#60;$0`"           # Echoes the script itself to stdout.</PRE
abs-guide-10/HTML/commandsub.html-433-></TD
##############################################
abs-guide-10/HTML/commandsub.html-457-  11&nbsp;if [ -e "/proc/ide/${disk[$device]}/media" ] ; then
abs-guide-10/HTML/commandsub.html:458:  12&nbsp;             hdmedia=`cat /proc/ide/${disk[$device]}/media`
abs-guide-10/HTML/commandsub.html-459-  13&nbsp;...
##############################################
abs-guide-10/HTML/commandsub.html-1167-CLASS="PROGRAMLISTING"
abs-guide-10/HTML/commandsub.html:1168:>   1&nbsp;word_count=` wc -w \`echo * | awk '{print $8}'\` `</PRE
abs-guide-10/HTML/commandsub.html-1169-></TD
##############################################
abs-guide-10/HTML/ivr.html-421-  11&nbsp;then
abs-guide-10/HTML/ivr.html:422:  12&nbsp;   echo "Usage: `basename $0` filename column-number"
abs-guide-10/HTML/ivr.html-423-  13&nbsp;   exit $E_WRONGARGS
##############################################
abs-guide-10/HTML/operations.html-397-  25&nbsp;then
abs-guide-10/HTML/operations.html:398:  26&nbsp;  echo "Usage: `basename $0` first-number second-number"
abs-guide-10/HTML/operations.html-399-  27&nbsp;  exit $E_BADARGS
##############################################
abs-guide-10/HTML/asciitable.html-221-  37&nbsp;while [ $IDX -le 127 ] &#38;&#38; CHR="${ABR[$IDX]}"
abs-guide-10/HTML/asciitable.html:222:  38&nbsp;   do ((${#CHR}))&#38;&#38; FM2='%-3s'|| FM2=`printf '\\\\%o  ' $IDX`
abs-guide-10/HTML/asciitable.html-223-  39&nbsp;      printf "$FM1 $FM2" "$IDX" $CHR; (( (IDX+=1)%8))||echo '|'
##############################################
abs-guide-10/strip-comments.sh-9-then
abs-guide-10/strip-comments.sh:10:  echo "Usage: `basename $0` C-program-file" >&2 # Error message to stderr.
abs-guide-10/strip-comments.sh-11-  exit $E_ARGERROR
##############################################
abs-guide-10/strip-comments.sh-14-# Test for correct file type.
abs-guide-10/strip-comments.sh:15:type=`file $1 | awk '{ print $2, $3, $4, $5 }'`
abs-guide-10/strip-comments.sh-16-# "file $1" echoes file type . . .
##############################################
abs-guide-10/strip-comments.sh-55-usage() {
abs-guide-10/strip-comments.sh:56:  echo "Usage: `basename $0` C-program-file" >&2
abs-guide-10/strip-comments.sh-57-  exit 1
##############################################
abs-guide-10/strip-comments.sh-61-[[ $# -eq 1 ]] || usage
abs-guide-10/strip-comments.sh:62:case `file "$1"` in
abs-guide-10/strip-comments.sh-63-  *"C program text"*) sed -e "s%/\*%${WEIRD}%g;s%\*/%${WEIRD}%g" "$1" \
##############################################
abs-guide-10/bin-grep.sh-11-then
abs-guide-10/bin-grep.sh:12:  echo "Usage: `basename $0` search_string filename"
abs-guide-10/bin-grep.sh-13-  exit $E_BADARGS
##############################################
abs-guide-10/bubble.sh-57-  do
abs-guide-10/bubble.sh:58:    if [ ${Countries[$index]} \> ${Countries[`expr $index + 1`]} ]
abs-guide-10/bubble.sh-59-    #  If out of order...
##############################################
abs-guide-10/bubble.sh-62-
abs-guide-10/bubble.sh:63:    #  if [[ ${Countries[$index]} > ${Countries[`expr $index + 1`]} ]]
abs-guide-10/bubble.sh-64-    #+ also works.
abs-guide-10/bubble.sh-65-    then
abs-guide-10/bubble.sh:66:      exchange $index `expr $index + 1`  # Swap.
abs-guide-10/bubble.sh-67-    fi  
##############################################
abs-guide-10/show-all-colors.sh-16-       do {
abs-guide-10/show-all-colors.sh:17:          shownum=`echo "$offset + $T1 * ${num2} + $num1" | bc`
abs-guide-10/show-all-colors.sh-18-          echo -en "\E[0;48;5;${shownum}m color ${shownum} \E[0m"
##############################################
abs-guide-10/show-all-colors.sh-45-do {
abs-guide-10/show-all-colors.sh:46:   shownum=`expr $offset + $num1`
abs-guide-10/show-all-colors.sh-47-   echo -en "\E[0;48;5;${shownum}m ${shownum}\E[0m"
##############################################
abs-guide-10/ex44.sh-12-
abs-guide-10/ex44.sh:13:killppp="eval kill -9 `ps ax | awk '/ppp/ { print $1 }'`"
abs-guide-10/ex44.sh-14-#                     -------- process ID of ppp -------  
##############################################
abs-guide-10/ex65.sh-9-then
abs-guide-10/ex65.sh:10:  echo "Usage: `basename $0` filename"
abs-guide-10/ex65.sh-11-  exit $E_BADARGS  # No arg? Bail out.
##############################################
abs-guide-10/tree.sh-29-                          #     in order to indent.
abs-guide-10/tree.sh:30:      zz=`expr $zz + 1`   # ==> Increment zz.
abs-guide-10/tree.sh-31-    done
##############################################
abs-guide-10/tree.sh-33-    if [ -L "$dir" ] ; then # ==> If directory is a symbolic link...
abs-guide-10/tree.sh:34:      echo "+---$dir" `ls -l $dir | sed 's/^.*'$dir' //'`
abs-guide-10/tree.sh-35-      # ==> Display horiz. connector and list directory name, but...
##############################################
abs-guide-10/tree.sh-39-      # ==> and print directory name.
abs-guide-10/tree.sh:40:      numdirs=`expr $numdirs + 1` # ==> Increment directory count.
abs-guide-10/tree.sh-41-      if cd "$dir" ; then         # ==> If can move to subdirectory...
abs-guide-10/tree.sh:42:        search `expr $1 + 1`      # with recursion ;-)
abs-guide-10/tree.sh-43-        # ==> Function calls itself.
##############################################
abs-guide-10/horserace.sh-94-if [ $N_COLS -lt 80 ] || [ $N_LINES -lt 20 ]; then
abs-guide-10/horserace.sh:95:   echo "`basename $0` needs a 80-cols X 20-lines terminal."
abs-guide-10/horserace.sh-96-   echo "Your terminal is ${N_COLS}-cols X ${N_LINES}-lines."
##############################################
abs-guide-10/horserace.sh-203-      # Define last handicap position for horse. 
abs-guide-10/horserace.sh:204:      LHP=`expr $HANDICAP \* 7 + 3`
abs-guide-10/horserace.sh:205:      for FILE in `seq 10 7 $LHP`; do
abs-guide-10/horserace.sh-206-            echo $HN >> $FILE
##############################################
abs-guide-10/horserace.sh-210-      case $HANDICAP in 
abs-guide-10/horserace.sh:211:              1) ODDS=`echo $HANDICAP \* 0.25 + 1.25 | bc`
abs-guide-10/horserace.sh-212-                                 echo $ODDS > odds_${HN}
abs-guide-10/horserace.sh-213-              ;;
abs-guide-10/horserace.sh:214:              2 | 3) ODDS=`echo $HANDICAP \* 0.40 + 1.25 | bc`
abs-guide-10/horserace.sh-215-                                       echo $ODDS > odds_${HN}
abs-guide-10/horserace.sh-216-              ;;
abs-guide-10/horserace.sh:217:              4 | 5 | 6) ODDS=`echo $HANDICAP \* 0.55 + 1.25 | bc`
abs-guide-10/horserace.sh-218-                                             echo $ODDS > odds_${HN}
abs-guide-10/horserace.sh-219-              ;; 
abs-guide-10/horserace.sh:220:              7 | 8) ODDS=`echo $HANDICAP \* 0.75 + 1.25 | bc`
abs-guide-10/horserace.sh-221-                                       echo $ODDS > odds_${HN}
abs-guide-10/horserace.sh-222-              ;; 
abs-guide-10/horserace.sh:223:              9) ODDS=`echo $HANDICAP \* 0.90 + 1.25 | bc`
abs-guide-10/horserace.sh-224-                                  echo $ODDS > odds_${HN}
##############################################
abs-guide-10/horserace.sh-235-for HN in `seq 9`; do
abs-guide-10/horserace.sh:236:      echo "#$HN odds->" `cat odds_${HN}`
abs-guide-10/horserace.sh-237-done
##############################################
abs-guide-10/horserace.sh-291-          # Define old type and position of the "randomized horse".
abs-guide-10/horserace.sh:292:          HORSE_TYPE=`cat  horse_${MOVE_HORSE}_position | tail -n 1`
abs-guide-10/horserace.sh:293:          COL=$(expr `cat  horse_${MOVE_HORSE}_position | head -n 1`)
abs-guide-10/horserace.sh-294-          
##############################################
abs-guide-10/horserace.sh-306-          fi
abs-guide-10/horserace.sh:307:          COL=`expr $COL + $ADD_POS`
abs-guide-10/horserace.sh-308-          echo $COL >  horse_${MOVE_HORSE}_position  # Store new position.
##############################################
abs-guide-10/horserace.sh-322-          # Move the cursor to new horse position.
abs-guide-10/horserace.sh:323:          tput cup `expr $MOVE_HORSE + 5` \
abs-guide-10/horserace.sh:324:	  `cat  horse_${MOVE_HORSE}_position | head -n 1` 
abs-guide-10/horserace.sh-325-          
##############################################
abs-guide-10/horserace.sh-345-          tput cup 17 0
abs-guide-10/horserace.sh:346:          echo -n Current leader: `grep -w $HIGHEST_POS *position | cut -c7`\
abs-guide-10/horserace.sh-347-	  "                              "
##############################################
abs-guide-10/horserace.sh-358-# Make the winning horse blink.
abs-guide-10/horserace.sh:359:tput cup `expr $MOVE_HORSE + 5` \
abs-guide-10/horserace.sh:360:`cat  horse_${MOVE_HORSE}_position | head -n 1`
abs-guide-10/horserace.sh-361-$DRAW_HORSE
##############################################
abs-guide-10/horserace.sh-374-tput cup 17 0
abs-guide-10/horserace.sh:375:echo -e "\E[5mWINNER: $MOVE_HORSE\E[25m""  Odds: `cat odds_${MOVE_HORSE}`"\
abs-guide-10/horserace.sh:376:"  Race time: `expr $FINISH_TIME - $START_TIME` secs"
abs-guide-10/horserace.sh-377-
##############################################
abs-guide-10/allprofs.sh-8-
abs-guide-10/allprofs.sh:9:for home in `awk -F: '{print $6}' /etc/passwd`
abs-guide-10/allprofs.sh-10-do
##############################################
abs-guide-10/redir4a.sh-12-
abs-guide-10/redir4a.sh:13:line_count=`wc $Filename | awk '{ print $1 }'`  # Number of lines in target file.
abs-guide-10/redir4a.sh-14-
abs-guide-10/redir4a.sh-15-
abs-guide-10/redir4a.sh:16:for name in `seq $line_count`
abs-guide-10/redir4a.sh-17-do
##############################################
abs-guide-10/whx.sh-198-
abs-guide-10/whx.sh:199:slash8=`echo $IPADDR | cut -d. -f 1`
abs-guide-10/whx.sh-200-  if [ -z "$slash8" ]  # Yet another sanity check.
##############################################
abs-guide-10/whx.sh-204-  fi
abs-guide-10/whx.sh:205:slash16=`echo $IPADDR | cut -d. -f 1-2`
abs-guide-10/whx.sh-206-#                             ^ Period specified as 'cut" delimiter.
##############################################
abs-guide-10/whx.sh-211-  fi
abs-guide-10/whx.sh:212:octet2=`echo $slash16 | cut -d. -f 2`
abs-guide-10/whx.sh-213-  if [ -z "$octet2" ]
##############################################
abs-guide-10/unit-conversion.sh-14-Unit2=meters
abs-guide-10/unit-conversion.sh:15:cfactor=`convert_units $Unit1 $Unit2`
abs-guide-10/unit-conversion.sh-16-quantity=3.73
##############################################
abs-guide-10/ex45.sh-15-
abs-guide-10/ex45.sh:16:a=`expr $a + 1`
abs-guide-10/ex45.sh-17-echo
##############################################
abs-guide-10/ex45.sh-39-y=25
abs-guide-10/ex45.sh:40:b=`expr $x = $y`         # Test equality.
abs-guide-10/ex45.sh-41-echo "b = $b"            # 0  ( $x -ne $y )
##############################################
abs-guide-10/ex45.sh-44-a=3
abs-guide-10/ex45.sh:45:b=`expr $a \> 10`
abs-guide-10/ex45.sh:46:echo 'b=`expr $a \> 10`, therefore...'
abs-guide-10/ex45.sh-47-echo "If a > 10, b = 0 (false)"
##############################################
abs-guide-10/ex45.sh-50-
abs-guide-10/ex45.sh:51:b=`expr $a \< 10`
abs-guide-10/ex45.sh-52-echo "If a < 10, b = 1 (true)"
##############################################
abs-guide-10/ex45.sh-56-
abs-guide-10/ex45.sh:57:b=`expr $a \<= 3`
abs-guide-10/ex45.sh-58-echo "If a <= 3, b = 1 (true)"
##############################################
abs-guide-10/ex45.sh-77-# length: length of string
abs-guide-10/ex45.sh:78:b=`expr length $a`
abs-guide-10/ex45.sh-79-echo "Length of \"$a\" is $b."
##############################################
abs-guide-10/ex45.sh-82-#        that matches a character in string
abs-guide-10/ex45.sh:83:b=`expr index $a 23`
abs-guide-10/ex45.sh-84-echo "Numerical position of first \"2\" in \"$a\" is \"$b\"."
##############################################
abs-guide-10/ex45.sh-86-# substr: extract substring, starting position & length specified
abs-guide-10/ex45.sh:87:b=`expr substr $a 2 6`
abs-guide-10/ex45.sh-88-echo "Substring of \"$a\", starting at position 2,\
##############################################
abs-guide-10/ex45.sh-95-#       Using Regular Expressions ...
abs-guide-10/ex45.sh:96:b=`expr match "$a" '[0-9]*'`               #  Numerical count.
abs-guide-10/ex45.sh-97-echo Number of digits at the beginning of \"$a\" is $b.
abs-guide-10/ex45.sh:98:b=`expr match "$a" '\([0-9]*\)'`           #  Note that escaped parentheses
abs-guide-10/ex45.sh-99-#                   ==      ==             #+ trigger substring match.
##############################################
abs-guide-10/sw.sh-70-    seconds=$1
abs-guide-10/sw.sh:71:    mins=`echo $seconds/60 | bc`
abs-guide-10/sw.sh-72-    if [ "$mins" != "0" ]; then
abs-guide-10/sw.sh:73:        seconds=`echo "$seconds - ($mins*60)" | bc`
abs-guide-10/sw.sh-74-        echo "$mins:$seconds"
##############################################
abs-guide-10/sw.sh-81-    end=`now`
abs-guide-10/sw.sh:82:    total=`echo "$end - $start" | bc`
abs-guide-10/sw.sh-83-    fmt_seconds $total
##############################################
abs-guide-10/sw.sh-92-lap() {
abs-guide-10/sw.sh:93:    laptime=`echo "$1" | sed -n 's/.*real[^0-9.]*\(.*\)/\1/p'`
abs-guide-10/sw.sh-94-    [ ! "$laptime" -o "$laptime" = "0.00" ] && return
abs-guide-10/sw.sh-95-    # Signals too frequent.
abs-guide-10/sw.sh:96:    laptotal=`echo $laptime+0$laptotal | bc`
abs-guide-10/sw.sh-97-    if [ "$2" = "display" ]; then
abs-guide-10/sw.sh:98:        lapcount=`echo 0$lapcount+1 | bc`
abs-guide-10/sw.sh:99:        laptime=`fmt_seconds $laptotal`
abs-guide-10/sw.sh-100-        echo $laptime "($lapcount)"
##############################################
abs-guide-10/is_spammer.bash-1455-
abs-guide-10/is_spammer.bash:1456:# Execution engine is LIFO. Order of pend operations is important.
abs-guide-10/is_spammer.bash-1457-# Did we define any new addresses?
##############################################
abs-guide-10/is_spammer.bash-1787-    do
abs-guide-10/is_spammer.bash:1788:        echo 'Element '$_i' >'${_la_lines[$_i]}'<'
abs-guide-10/is_spammer.bash-1789-    done
##############################################
abs-guide-10/is_spammer.bash-1850-$_dot_dump                   # Graphics file dump
abs-guide-10/is_spammer.bash:1851:$_log_dump                   # Execution trace
abs-guide-10/is_spammer.bash-1852-echo
##############################################
abs-guide-10/rpm-check.sh-14-then
abs-guide-10/rpm-check.sh:15:  echo "Usage: `basename $0` rpm-file"
abs-guide-10/rpm-check.sh-16-  exit $E_NOARGS
##############################################
abs-guide-10/kill-process.sh-12-
abs-guide-10/kill-process.sh:13:t=`pidof $process`       # Find pid (process id) of $process.
abs-guide-10/kill-process.sh-14-# The pid is needed by 'kill' (can't 'kill' by program name).
##############################################
abs-guide-10/kill-process.sh-25-# Need a check here to see if process allowed itself to be killed.
abs-guide-10/kill-process.sh:26:# Perhaps another " t=`pidof $process` " or ...
abs-guide-10/kill-process.sh-27-
##############################################
abs-guide-10/m4.sh-12-echo "incr($var)" | m4                              #  100
abs-guide-10/m4.sh:13:echo "eval($var / 3)" | m4                          #   33
abs-guide-10/m4.sh-14-
##############################################
abs-guide-10/ex55.sh-24-        # --> Match variable name, which, in this case, is the file name.
abs-guide-10/ex55.sh:25:        # --> This is the exact equivalent of subsys=`basename $i`.
abs-guide-10/ex55.sh-26-	
##############################################
abs-guide-10/ex63.sh-18-then
abs-guide-10/ex63.sh:19:  echo "Usage: `basename $0` number"
abs-guide-10/ex63.sh-20-  exit $E_WRONG_ARGS
##############################################
abs-guide-10/ex3.sh-10-# then
abs-guide-10/ex3.sh:11:#  echo "Usage: `basename $0` target-file"
abs-guide-10/ex3.sh-12-#  exit $E_NOARGS
##############################################
abs-guide-10/ex33a.sh-24-
abs-guide-10/ex33a.sh:25:set -- `getopt "abcd:" "$@"`
abs-guide-10/ex33a.sh-26-# Sets positional parameters to command-line arguments.
##############################################
abs-guide-10/quote-fetch.sh-7-if [ -z "$1" ]  # Must specify a stock (symbol) to fetch.
abs-guide-10/quote-fetch.sh:8:  then echo "Usage: `basename $0` stock-symbol"
abs-guide-10/quote-fetch.sh-9-  exit $E_NOPARAMS
##############################################
abs-guide-10/ftpget.sh-52-set -f 		# So we can use globbing in -m
abs-guide-10/ftpget.sh:53:set x `getopt vh:d:c:m:f: $*`
abs-guide-10/ftpget.sh-54-if [ $? != 0 ]; then
##############################################
abs-guide-10/ftpget.sh-76-	-m) echo mget "$2" >> ${TMPFILE}; shift 2;;
abs-guide-10/ftpget.sh:77:	-f) f1=`expr "$2" : "\([^:]*\).*"`; f2=`expr "$2" : "[^:]*:\(.*\)"`;
abs-guide-10/ftpget.sh-78-	    echo get ${f1} ${f2} >> ${TMPFILE}; shift 2;;
##############################################
abs-guide-10/ra2ogg.sh-19-then
abs-guide-10/ra2ogg.sh:20:  echo "Usage: `basename $0` [filename]"
abs-guide-10/ra2ogg.sh-21-  exit $E_NOARGS
##############################################
abs-guide-10/ex45a.sh-9-
abs-guide-10/ex45a.sh:10:echo "The string being operated upon is \"`expr "$a" : '\(.*\)'`\"."
abs-guide-10/ex45a.sh-11-#     Escaped parentheses grouping operator.            ==  ==
##############################################
abs-guide-10/ex45a.sh-21-
abs-guide-10/ex45a.sh:22:echo "Length of \"$a\" is `expr "$a" : '.*'`."   # Length of string
abs-guide-10/ex45a.sh-23-
abs-guide-10/ex45a.sh:24:echo "Number of digits at the beginning of \"$a\" is `expr "$a" : '[0-9]*'`."
abs-guide-10/ex45a.sh-25-
##############################################
abs-guide-10/ex45a.sh-29-
abs-guide-10/ex45a.sh:30:echo "The digits at the beginning of \"$a\" are `expr "$a" : '\([0-9]*\)'`."
abs-guide-10/ex45a.sh-31-#                                                             ==      ==
abs-guide-10/ex45a.sh:32:echo "The first 7 characters of \"$a\" are `expr "$a" : '\(.......\)'`."
abs-guide-10/ex45a.sh-33-#         =====                                          ==       ==
##############################################
abs-guide-10/ex45a.sh-35-#
abs-guide-10/ex45a.sh:36:echo "The last 7 characters of \"$a\" are `expr "$a" : '.*\(.......\)'`."
abs-guide-10/ex45a.sh-37-#         ====                  end of string operator  ^^
##############################################
abs-guide-10/and-list2.sh-7-#    ^^^^^^^^^^^^ condition #1
abs-guide-10/and-list2.sh:8:echo "Usage: `basename $0` $ARGS argument(s)" && exit $E_BADARGS
abs-guide-10/and-list2.sh-9-#                                             ^^
##############################################
abs-guide-10/tree2.sh-29-PID=$$                            # Our own process ID.
abs-guide-10/tree2.sh:30:SELF=`basename $0`                # Our own program name.
abs-guide-10/tree2.sh-31-TMP="/tmp/${SELF}.${PID}.tmp"     # Temporary 'du' result.
##############################################
abs-guide-10/tree2.sh-50-  cnt=0
abs-guide-10/tree2.sh:51:  num=`echo "$LIST" | wc -l`      # How many entries in the list.
abs-guide-10/tree2.sh-52-
##############################################
abs-guide-10/tree2.sh-55-    ((cnt+=1))		          # Count entry number.
abs-guide-10/tree2.sh:56:    bname=`basename "$name"`      # We only need a basename of the entry.
abs-guide-10/tree2.sh-57-    [ -d "$name" ] && bname="$bname/"
abs-guide-10/tree2.sh-58-                                  # If it's a directory, append a slash.
abs-guide-10/tree2.sh:59:    echo "`dot $size`$prefix +-$bname"
abs-guide-10/tree2.sh-60-                                  # Display the result.
##############################################
abs-guide-10/tree2.sh-94-     # Build a temporary list of all files/dirs and their size.
abs-guide-10/tree2.sh:95:size=`tail -1 "$TMP" | awk '{print $1}'`
abs-guide-10/tree2.sh-96-     # What is our rootdirectory's size?
abs-guide-10/tree2.sh:97:echo "`dot $size` $rootdir"
abs-guide-10/tree2.sh-98-     # Display rootdirectory's entry.
##############################################
abs-guide-10/ex48.sh-14-then
abs-guide-10/ex48.sh:15:  echo "Usage: `basename $0` source destination"
abs-guide-10/ex48.sh-16-  exit $E_BADARGS