diff --git a/cde/admin/IntegTools/dbTools/linksLast b/cde/admin/IntegTools/dbTools/linksLast index d79e6bdd3..e01927c74 100755 --- a/cde/admin/IntegTools/dbTools/linksLast +++ b/cde/admin/IntegTools/dbTools/linksLast @@ -8,9 +8,9 @@ USAGE="Usage: $0 file.lst" case $# in - 0) echo $USAGE;; + 0) echo "$USAGE";; 1);; - *) echo $USAGE;; + *) echo "$USAGE";; esac awk ' @@ -20,4 +20,4 @@ END { if ( i > 0 ) for ( i in links) print links[i]; } -' $@ +' "$@" diff --git a/cde/admin/IntegTools/dbTools/uncomment b/cde/admin/IntegTools/dbTools/uncomment index 699120c40..4ca80e922 100755 --- a/cde/admin/IntegTools/dbTools/uncomment +++ b/cde/admin/IntegTools/dbTools/uncomment @@ -5,5 +5,5 @@ # and coalesce multiple blanks/tabs into a single blank # -cat $@ | egrep -v '^[ ]*#|^[ ]*$' | sed 's/[ ][ ]*/ /g'|\ +cat "$@" | grep -E -v '^[ ]*#|^[ ]*$' | sed 's/[ ][ ]*/ /g'|\ sed 's/ $//'