On 8/26/06, Netocrat <[EMAIL PROTECTED]> wrote: > Axel Liljencrantz wrote: > [...] > > I've been thinking about ways to fix the assignment-for-single-command > > problem without introducing script vs. commandline differences. One > > way would be to introduce a new switch to set, -s / --single-command: > > > > set -s CC icc; make > > > > would mean set the value of CC to icc, but only for the make command. May > > be ok. > > Do you mean that the scope of the set -s ends at the next newline character?
What I meant was that the scope should be only the next command, kind of like how 'and' and 'or' work. But after sleeping on it, I feel that using the external env command is more in line with the fish way of moving as much as possible outside the shell itself. > -- > http://members.dodo.com.au/~netocrat -- 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
