[net.unix-wizards] Environment variable brain damage :-)

ado@elsie.UUCP (Arthur David Olson) (02/27/85)

> . . .Bug:  Environment variables set in the C-shell may cause Bourne shell
> to freak out. . .
> 1) Set an environment variable containing a hyphen (say "setenv A-B 1")
> 2) Type "sh"
>    The result will be the message "A-B=1: is not an identifier", not a
>    shell.

That's no bug--you can use it to disallow subshells from "more."  :-)
--
	UUCP: ..decvax!seismo!elsie!ado    ARPA: elsie!ado@seismo.ARPA
	DEC, VAX and Elsie are Digital Equipment and Borden trademarks