[PLUG] Why is grep truncating output?

Scott Chapman scott_list at mischko.com
Mon Dec 30 11:57:02 UTC 2002


I'm using RedHat Linux 7.3 with 2.4.18-3 kernel.  When I do ps -ef | grep ' ' 
(or grep for other things) it truncates the output to 80 columns (and grep 
doesn't match stuff beyond the 80th column either).

If I do set | grep ' ' the output is not truncated.

If I grep a file (grep ' ' .bash_history) I don't get truncated output.

Can someone explain what's going on and how to fix this?

Thanks!
Scott





More information about the PLUG mailing list