a bash scripting question

Luke Davis ldavis at shellworld.net
Wed Aug 6 21:44:40 EDT 2003


Um, I don't think that'll work...  To-wit:

> read $1 $2

There is no reason to do that--the entire point of $1 and $2, is to get
the vars from the command line.

> $var1=$1
> $var2=$2

Unless you're trying to do variable-name variables, the initial dollar
sign ($), will make this break.




More information about the Speakup mailing list