bash : stderr more (pipe for stderr)

2003-06-14 Thread Alex Vinokur
= Windows 2000 CYGWIN_NT-5.0 1.3.22(0.78/3/2) GNU bash, version 2.05b.0(5)-release-(i686-pc-cygwin) = $ command | more # works only for stdout $ command | more bash: syntax error near unexpected token `' How to use pipe

RE: bash : stderr more (pipe for stderr)

2003-06-14 Thread Hannu E K Nevalainen \(garbage mail\)
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Alex Vinokur How to use pipe for stderr? This is a Bash-question, not cygwin - i.e. off topic here ;-) $ cat t.c #include stdio.h int main(int argc, char **argv) { if (argc=1) printf(Use: %s [o] [e]\n \ o -

Re: bash : stderr more (pipe for stderr)

2003-06-14 Thread Randall R Schulz
Alex, At 00:25 2003-06-14, Alex Vinokur wrote: $ command | more # works only for stdout $ command | more bash: syntax error near unexpected token `' How to use pipe for stderr? BASH uses the Bourne and Korn shell syntax for redirection. You're using the CSH / tcsh variety. # Redirect

Re: bash : stderr more (pipe for stderr)

2003-06-14 Thread Igor Pechtchanski
On Sat, 14 Jun 2003, Randall R Schulz wrote: Alex, At 00:25 2003-06-14, Alex Vinokur wrote: $ command | more # works only for stdout $ command | more bash: syntax error near unexpected token `' How to use pipe for stderr? BASH uses the Bourne and Korn shell syntax for