Problem with csh;request for fix (LONG)
adam at miduet.UUCP
adam at miduet.UUCP
Tue Jul 15 20:18:23 AEST 1986
In article <405 at chinet.UUCP> megabyte at chinet.UUCP (Mark E. Sunderlin) writes:
>(Feel free to s/bug/problem/ throughout this article)
>Ok my fellow unix-wizards, I have come across a bug(?) I can't understand. It
>seems that csh can't deal with variable assignment when the value to assign
>to the variable has the meta characters [] or {} in it. However it seems...[]
~ set fix="string[67]"
~ echo "$fix"
string[67]
~ echo $fix
echo: No match.
I.e., just double quote it.
Adam.
More information about the Comp.unix.wizards
mailing list