[ale] more/grep truncates piped results

Danny Cox danscox at mindspring.com
Wed Dec 4 15:38:40 EST 2002


On Wed, 2002-12-04 at 15:16, Fletch wrote:
> It's not more and grep, it's ps itself truncating the output (probably
> assuming a width of 80 columns if its output is a pipe).  Try
> something along the lines of this (presuming a Bourney shell of some
> description, of course):
> 
> 
> COLUMNS=120 ps -ef | grep foooble

	You might also note 'ps -efww | gre[ foooble' will also do the trick.

-- 
kernel, n.: A part of an operating system that preserves the
medieval traditions of sorcery and black art.

Danny

_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale






More information about the Ale mailing list