[sclug] sclug Digest, Vol 67, Issue 10
Keith Edmunds
kae at midnighthax.com
Wed Apr 22 20:46:25 UTC 2009
On Wed, 22 Apr 2009 21:42:17 +0100, dg at cowlark.com said:
> shnjoin -o "$1" "$@"
>
> "$@" is special syntax that causes the arguments to be expanded in
> quotes separately.
This won't do what the OP wants as it expands the command line arguments
in quotes. He has a directory of files that need quotes.
Incidentally, you can replace
echo "Use: command codectype outputfilename"
with
echo "Use: $0 codectype outputfilename"
$0 will be substituted by the name of the command exactly as typed on the
command line.
Keith
More information about the Sclug
mailing list