[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: authentication errors.
From: |
Wil Cooley |
Subject: |
Re: authentication errors. |
Date: |
Fri, 22 Apr 2005 11:20:48 -0700 |
On Fri, 2005-04-22 at 13:46 -0400, Christian Pearce wrote:
> $(expr) and ${word} is valid shell how do you differentiate?
>
> bash-2.05b$ test=$(echo test)
> bash-2.05b$ echo $test
> test
> bash-2.05b$ test=${test}
> bash-2.05b$ echo $test
> test
> bash-2.05b$ test=${test1}
> bash-2.05b$ echo $test
The same way Make does, by requiring you escape shell variables in
strings--it would remove the ambiguity and permit more useful error
messages and syntax checking.
Wil
--
Wil Cooley wcooley@nakedape.cc
Naked Ape Consulting http://nakedape.cc
* * * * Linux, UNIX, Networking and Security Solutions * * * *
signature.asc
Description: This is a digitally signed message part
Re: authentication errors., Russell . Conner, 2005/04/22
Re: authentication errors., Russell . Conner, 2005/04/22
Re: authentication errors., Russell . Conner, 2005/04/22