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
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
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
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/
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.
>
>
> ===
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
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
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"