On 8/26/06, Philip Ganchev <[EMAIL PROTECTED]> wrote: > On 8/25/06, Axel Liljencrantz <[EMAIL PROTECTED]> wrote: > [...] > > The only drawback I can see with it is that it only works in interactive > > mode. > > You still have to do a full begin/end in non-interactive mode. > > Like Martin, I think it is a big drawback. It's another case of > subtle modality that would cause much confusion and forgetful bugs, > and require much explanation and reminding. What's more, if the scope > of "set" is one command, that itself would confuse users, I think.
Right. I'm beginning to give up on the idea. > > Is there any way to shorten "begin" and "end" instead? There has been discussions on-list about using () as another way of specifying begin/end before, but I don't think this won very much favour (I certainly don't like it), since this would mean using () for two related by slightly different things, which is inherently confusing. > > How often does one need to assign a variable for just one command? I > have not encountered a need for it; perhaps you as a developer need it > a lot. Notice that if you need to set a lot of variables before a > command, the verbosity is amortized. Changing variables like CFLAGS or CC for use by make, like in my original example, is sometimes useful. Also, when using e.g. CVS, you might want to change CVSROOT for a single command when using more than one server at a time. Not extremely common, but not unheard of. -- 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
