On Thu, Nov 01, 2001 at 05:54:24PM -0800, Cory Petkovsek wrote: > I'm working on creating a centralized logging facility for my NT servers. > Currently my linux servers email me highlights of their logs using logcheck. > > > Through this process, I discovered some interesting redirection usage that I > hadn't seen before: > "eldump -? 2>&1 | more" > > I figure this means take standard error(2) and merge it with standard > out(1). Right?
I would suggest reading the bash manpage, under the section REDIRECTION. Pipe redirection doesn't work. If you read the manpage, it should be clear why this is. For examples of multiple redirects, look in autoconf and shell script print filters in apsfilter or printtool. -- <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
