Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] stdin/stderr redirection under Solaris
- Date: Sun, 29 Aug 2004 19:52:41 -0700 (PDT)
- From: Gerald Naughton <naughton123@example.com>
- Subject: Re: [tlug] stdin/stderr redirection under Solaris
Hi Jean --- Jean-Christian Imbeault <jean-christian.imbeault@example.com> wrote: > Stephen J. Turnbull wrote: > > > I don't think any of the shells have syntax for > sending different FDs > > to different pipes; > > Bummer. > > > use the "y" program for that. However, I don't > > see a "y" program on Debian or an old Red Hat > Linux. > > I couldn't find any mention on a y program doing a > quick google search > and there doesn't seem to be one installed on my > Solaris machine or a > newer install of RH. > > > If you need two > > "consoles", you could use something like > > > > prog 1> tmp1 2> tmp2 & > > Thanks for that but what I really want is one > process I can nohup. > Something like: > > $ nohup cmd 1| prog1 2|prog2 & > > From what everyone has suggested it doesn't look > like that is going to > be possible though. > > The best I've gotten is this recommendation from > Steve Smith but it > doesn't seem to lend itself to being nohup'ed ... > > $(cmd | prog1) |& prog2 It is in the manual http://www.sandia.gov/ASCI/Red/usage/paragon/man/man1/nohup.1.html The nohup command accepts just one utility as an argument. To apply nohup to a pipeline or list of commands, enter the pipeline or list in a shell script file. Then run sh as utility using the following format: nohup sh -c file g __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail
- Follow-Ups:
- Re: [tlug] stdin/stderr redirection under Solaris
- From: Jean-Christian Imbeault
- References:
- Re: [tlug] stdin/stderr redirection under Solaris
- From: Jean-Christian Imbeault
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] and, back to gpg
- Next by Date: Re: [tlug] Sub: best thing on the internet
- Previous by thread: Re: [tlug] stdin/stderr redirection under Solaris
- Next by thread: Re: [tlug] stdin/stderr redirection under Solaris
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links