On 8/22/06, Martin Baehr <[EMAIL PROTECTED]> wrote:
> On Tue, Aug 22, 2006 at 04:20:58PM +0200, Axel Liljencrantz wrote:
> > > > begin; foo 2>&1; end | bar
> > > this does what i need, thanks.
> > Though it is a bit ugly. I guess this is an argument for proecess
> > level IO redirections.
>
> probably, i don't think it is that bad, however, if
> foo > bar | baz | gazong
> means that the output of gazong is redirected to bar, then that is
> something i find totally counter intuitive and even though i use this
> rarely i would like to put in a vote for process level redirection at
> this point.

Yes, that is the most common argument for process-level redirection.
The main rgument for job-level redirection is that at least _I_ often
use something like

foo|bar 2>somefile

and wouldn't like having to change that to

begin; foo|bar; end 2>somefile

but since it may very well be that I have failed to convince a single
person about the superiority of job-level redirection, I may have to
conced that my preference is mostly because of habit. This may change
in the future.

Patches might be accepted. >:->


>
> 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/
>


-- 
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

Reply via email to