On 8/26/06, James Vega <[EMAIL PROTECTED]> wrote: > On Fri, Aug 25, 2006 at 06:04:35PM +0200, Axel Liljencrantz wrote: > > One of the things that I find ugly, about Posix shells, but that is > > doubtlessly useful, is the ability to assign a new value to a variable > > to only a single command in a simple way. If you want to run make with > > a strange value for $CC, but don't want to change the value in the > > shell proper, just use: > > > > CC=icc make > > This is why there's the env(1) command (assuming you're running in an > environment with the Gnu coreutils). :)
True, that works. It uses a different syntax than regular fish assignments, and you can't use it with fish functions or builtins. But maybe this is not an important enough feature for this to matter. env may simply be 'good enough'. > > James -- Axel ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Fish-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fish-users
