On Tue, Aug 22, 2006 at 03:33:05PM +0200, Martin Bähr wrote:
> syntax elements that look the same as in posix shell, should also
> behave like that. (i don't think that is being violated anywhere else
> in fish)
actually i am wrong on this one:
() in bash/posix is used for subshells, while in fish it is used for
inserting the output of commands into an argument.
and since i really like how fish does that i think the above rule
should not be taken to strictly :-)
i do however simply have an issue with the syntax of "2>&1"
i find it unintuitive and hard to read (in part given by the other use of &
use something different?
2>+1
or
2>-1
or how about trying to come up with a uniform way to specify numbered file
descriptors? (like %foo is a job, <something>foo could be a file descriptor)
currently there are two ways:
2 > &1
^^ filedescriptor after redirection
^ filedescriptor being redirected
uniform would be:
&2>&1
but that's ugly because of the &
drop them both?
2>1
then you get a problem with numbers meaning filenames.
+2>+1
or
-2>-1
since - is a shortcut for stdout this could make sense
or one of these:
#2>#1 @2>@1 *2>*1 ~2>~1 !2>!1 =2>=1 :2>:1
somehow :2>:1 looks nicest from all the options...
what do you think?
greetings, martin.
--
cooperative communication with sTeam - caudium, pike, roxen and unix
offering: programming, training and administration - anywhere in the world
--
pike programmer travelling and working in europe open-steam.org
unix system- bahai.or.at iaeste.(tuwien.ac|or).at
administrator (caudium|gotpike).org is.schon.org
Martin Bähr http://www.iaeste.or.at/~mbaehr/
-------------------------------------------------------------------------
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