[Gllug] Pipes truncating STDOUT to 80 chars
Rhys Hopkins
rhys.hopkins at culver-tec.com
Fri Nov 8 13:35:17 UTC 2002
Does anyone know why RedHat ( in this case specifically Red Hat 7.2 )
truncates standard output at 80 characters when it is put through a pipe,
but SuSE ( in this case specifically SuSE 7.0 ) gives you output for the
full width of your terminal window ?
This is particularly annoying when doing e.g.
# ps -ef | grep httpd
which works every time in SuSE, but fails every time in RedHat, because the
standard output from ps -ef is wider than 80 chars, so when piped, the
command line is truncated, and consequently grep never finds what it is
looking for.
What can I change in the RedHat system to make it act like SuSE ?
TIA,
Rhys.
***********************************************************************************************************
Visit us at http://www.culver-tec.com
DISCLAIMER & CONFIDENTIALITY NOTICE
This email and any files transmitted with it are confidential and intended solely for the use
of the individual or entity to whom they are addressed. This communication may contain
privileged material. If you are not the intended recipient or the person responsible for
delivering the email to the intended recipient, please be advised that you have received
this email in error and that any use, dissemination, forwarding, printing or copying of this
email is strictly prohibited.
The content of this email and any files transmitted with it may not reflect the views and
opinions of the originating company. If you have received this email in error, please
telephone +44 (020) 7456 1300 immediately.
The contents of this email are subject to the terms and conditions of use of our Websites.
No inappropriate content of any sort in this email is approved by us.
If you have any queries or complaints, please forward this email to complaints at culver-tec.com
***********************************************************************************************************
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list