Re: sh question

2002-09-13 Thread erez
thanks all for answering, now i get it ( i think ) btw: can i exchange stderr and stdout ? ( 2>1 1>2 ? ) what does the '&' stand for in the "2>&1" can i do 2>1 ? what is the difference ? Oleg Goldshmidt wrote: >Alex Shnitman <[EMAIL PROTECTED]> writes: > >>On Thu, 2002-09-12 at 16:03, [EMAIL

Re: sh question

2002-09-12 Thread Oleg Goldshmidt
Alex Shnitman <[EMAIL PROTECTED]> writes: > On Thu, 2002-09-12 at 16:03, [EMAIL PROTECTED] wrote: > > > i want to redirect both strdout and stderror into a pipe > > > > in tcsh i do: process1 |& process2 > > how do i do it in sh ? in bash ? ( is that the same ) > > process1 2>&1 | process2 N

Re: sh question

2002-09-12 Thread Lior Kesos
Alex Shnitman wrote: > On Thu, 2002-09-12 at 16:03, [EMAIL PROTECTED] wrote: > > >>i want to redirect both strdout and stderror into a pipe >> >>in tcsh i do: process1 |& process2 >>how do i do it in sh ? in bash ? ( is that the same ) > > > process1 2>&1 | process2 > > Wow this is fun I sim

Re: sh question

2002-09-12 Thread Alex Shnitman
On Thu, 2002-09-12 at 16:03, [EMAIL PROTECTED] wrote: > i want to redirect both strdout and stderror into a pipe > > in tcsh i do: process1 |& process2 > how do i do it in sh ? in bash ? ( is that the same ) process1 2>&1 | process2 -- Alex Shnitman <[EMAIL PROTECTED]> http://www.hectic.net/

Re: sh question

2002-09-12 Thread Yedidyah Bar-David
On Thu, Sep 12, 2002 at 04:03:42PM +0300, [EMAIL PROTECTED] wrote: > > i want to redirect both strdout and stderror into a pipe > > in tcsh i do: process1 |& process2 > how do i do it in sh ? in bash ? ( is that the same ) process1 2>1& | process2 > > erez. > > > ===

Re: sh question

2002-09-12 Thread guy keren
On 12 Sep 2002 [EMAIL PROTECTED] wrote: > i want to redirect both strdout and stderror into a pipe > > in tcsh i do: process1 |& process2 > how do i do it in sh ? in bash ? ( is that the same ) process1 2>&1 | process2 -- guy "For world domination - press 1, or dial 0, and please hold, fo

Re: sh question

2002-09-12 Thread Official Flamer/Cabal NON-Leader
Quoth [EMAIL PROTECTED]: > > i want to redirect both strdout and stderror into a pipe > > in tcsh i do: process1 |& process2 > how do i do it in sh ? in bash ? ( is that the same ) tcsh: foo |& bar bash: foo 2>&1 | bar -- ---OFCNL This is MY list. This list belongs to ME! I will flame a

sh question

2002-09-12 Thread erez
i want to redirect both strdout and stderror into a pipe in tcsh i do: process1 |& process2 how do i do it in sh ? in bash ? ( is that the same ) erez. = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe"