Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: unix question: KSH pipes
Hi Chuck,
The two that work shouldn't. I suggest you split the output to a temporary file using tee, and use that file as the input to the tail command.
Regards,
Steve Adams
http://www.ixora.com.au/ http://www.oreilly.com/catalog/orinternals/ http://www.christianity.net.au/
-----Original Message-----
From: Chuck Hamilton [SMTP:chuck_hamilton_at_yahoo.com] Sent: Friday, June 09, 2000 3:03 AM To: Multiple recipients of list ORACLE-L Subject: unix question: KSH pipes
I have three SGI servers running the exact same version of IRIX (6.5.5 64 bit). I have a pipeline that works fine on two of them but not on the third. Here's the pipeline...
sar -w | (head -n 4 ; tail)
It prints the first 4 lines followed by the last 10 lines of the sar output on two machines. On the third it just prints the first 4 lines. Does anyone have any idea why? Is there an environment variable or set command I need to execute to make it work as it does on the other 2 machines?
![]() |
![]() |