3 # This program takes a shell script and configures for the following
8 # Usage: config_script <filename> [<awk>] [<sed>]
15 # Grr.... not all Unix's have the dirname command
16 TMP=`echo $1 | sed -e 's;[^/]*$;;' -e 's/^$/./'`
19 if test "${AWK}x" = "x" ; then
22 if test "${SED}x" = "x" ; then
25 sed -e "s;@DIR@;${DIR};" -e "s;@AWK@;${AWK};" -e "s;@SED@;${SED};" $FILE