[prev] [thread] [next] [lurker] [Date index for 2007/01/10]
Yossi Kreinin <yossi.kreinin@xxxxxxxx.xxx> wrote: > Peter da Silva wrote: >> On Jan 10, 2007, at 10:10 AM, Yossi Kreinin wrote: >> >>> > setenv A B >>> > echo $A >>> B >>> > env A=3D echo $A >>> B >>> > env A=3DX echo $A >>> B >> >> >> This example does not demonstrate what you believe it demonstrates. >> >> > > A second answer which is not an answer. > > An answer looks like this: > > "echo is a built-in command, bk is not, so it will work with bk". > > There. Was it that hard? Apparently very easy, but entirely wrong alas. Here's a clue: % tcsh $ setenv A B $ /bin/echo $A B $ env A=3DX /bin/echo $A B $ exit % /bin/echo is not a built in command. A more direct clue is that variable expansion is performed before the =20 command is executed. Really, I didn't mean to be harsh, but you will get a lot more out of =20 the unix shell if you at least take 30 mins to understand the basics. =20 My guess is you'll get that 30 mins back quite quickly in terms of =20 being able to use the shell to your advantage (whatever shell you're =20 stuck with). Cheers, Martin.There's stuff above here
Generated at 00:01 on 12 Jan 2007 by mariachi 0.52