On Tue, 2007-10-02 at 19:29 -0600, Ryan Hill wrote: > Steve Long wrote: > > IMO the real reason you have such an issue with quoting is the redundant > > braces which are Gentoo house style; too many newbie scripters think that > > cd ${S} is safe when it should be cd "${S}" or more simply cd "$S". I don't > > buy the legibility argument since most people use syntax highlighting. It > > just sets the parser up for a non-event (yes I am *that* fussy about > > cycles.) My suspicion is that it came from echo "${RD}message$NO" > > Or because the unbraced case looks like ass.
You also need braces for ${#FOO} and other such parameter expansion. Thanks Roy -- [EMAIL PROTECTED] mailing list