diff options
author | David Leonard <d@cvs.openbsd.org> | 1998-11-22 00:11:10 +0000 |
---|---|---|
committer | David Leonard <d@cvs.openbsd.org> | 1998-11-22 00:11:10 +0000 |
commit | 4d5393da82939cdeb882da5c7ce1f424434fd542 (patch) | |
tree | 44532b44fe576ad89a5343946d5b507f7919ea61 | |
parent | 4bbe5420d3817e31d674e3475965ed3551363f72 (diff) |
$* -> "$@"
-rw-r--r-- | usr.bin/lorder/lorder.sh | 4 | ||||
-rw-r--r-- | usr.bin/lorder/lorder.sh.gnm | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/lorder/lorder.sh b/usr.bin/lorder/lorder.sh index 7a979eba2b9..fe71984c699 100644 --- a/usr.bin/lorder/lorder.sh +++ b/usr.bin/lorder/lorder.sh @@ -1,5 +1,5 @@ #!/bin/sh - -# $OpenBSD: lorder.sh,v 1.8 1998/09/02 06:40:08 deraadt Exp $ +# $OpenBSD: lorder.sh,v 1.9 1998/11/22 00:11:08 d Exp $ # $NetBSD: lorder.sh,v 1.3 1995/04/24 07:38:52 cgd Exp $ # # Copyright (c) 1990, 1993 @@ -70,7 +70,7 @@ trap "rm -rf $TDIR; trap 2 ; kill -2 $$" 1 2 3 13 15 # # if the line has " U " it's a globally undefined symbol, put it into # the reference file. -${NM:-nm} -go $* | sed " +${NM:-nm} -go "$@" | sed " /:$/ { s/:// s/.*/& &/ diff --git a/usr.bin/lorder/lorder.sh.gnm b/usr.bin/lorder/lorder.sh.gnm index 72da8590df5..19dd9813b13 100644 --- a/usr.bin/lorder/lorder.sh.gnm +++ b/usr.bin/lorder/lorder.sh.gnm @@ -1,5 +1,5 @@ #!/bin/sh - -# $OpenBSD: lorder.sh.gnm,v 1.8 1998/09/02 06:40:08 deraadt Exp $ +# $OpenBSD: lorder.sh.gnm,v 1.9 1998/11/22 00:11:09 d Exp $ # $NetBSD: lorder.sh.gnm,v 1.3 1995/12/20 04:45:11 cgd Exp $ # # Copyright (c) 1990, 1993 @@ -70,7 +70,7 @@ trap "rm -rf $TDIR; trap 2 ; kill -2 $$" 1 2 3 13 15 # # if the line has " U " it's a globally undefined symbol, put it into # the reference file. -(for file in $* ; do echo $file":" ; done ; ${NM:-nm} -go $*) | sed " +(for file in "$@" ; do echo "$file:" ; done ; ${NM:-nm} -go "$@") | sed " /:$/ { s/:// s/.*/& &/ |