tcsh disagrees:

 > setenv A B
 > echo $A
 B
 > env A= echo $A
 B
 > env A=X echo $A
 B

Correct me if I'm wrong, but in sh at least the $A is evaluated and replaced before the env A=, so a better example would be to write a shell script that echos $A and use that instead of echo

Reply via email to