Re: setting variables in tcsh temporarily

2004-06-15 Thread Matthew Seaman
On Tue, Jun 15, 2004 at 01:32:49AM +0200, Geert Hendrickx wrote: I have this simple question regarding the tcsh: in /bin/sh (Bourne shell) I can assign a value to an environment variable for just one command, like this: VARIABLE=value command e.g. DISPLAY=:0 xterm or CFLAGS=O2 make.

Re: setting variables in tcsh temporarily

2004-06-15 Thread Geert Hendrickx
You need the env(1) command: % env DISPLAY=:0 xterm Syntax is just like the Bourne shell equivalent; just insert 'env' at the beginning of the command line. Cheers, Matthew Very nice, thanks! GH ___ [EMAIL PROTECTED]

setting variables in tcsh temporarily

2004-06-14 Thread Geert Hendrickx
Hi, I have this simple question regarding the tcsh: in /bin/sh (Bourne shell) I can assign a value to an environment variable for just one command, like this: VARIABLE=value command e.g. DISPLAY=:0 xterm or CFLAGS=O2 make. Can this be done with tcsh as well? The only thing I can think