[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: too generic?



Charles Menzes wrote:
> 
> i am getting an error from a bash script that returns:
> 
> ./search_guest.sh: [: too many arguments
> 
> the script executes properly, and returns the correct output however, it
> give me this error.
> 
> snippet of the script:
>                                         if [ $FNAME = $FIRSTGUEST ] && [
> $LNAME = $LAST ]; then

You'll want to include quotation marks around those variables.  Things
get hairy if the value in them includes a space.
-
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.