Re: [ILUG] A little grep mystery

From: Liam Bedford (lbedford at domain lbedford.org)
Date: Tue 04 Jun 2002 - 16:40:26 IST


On Tue, 4 Jun 2002 14:55:18 +0100
"Kevin O' Riordan" <kor at domain compsoc.com> blurted in message
20020604135518.GA14605 at domain hoth.compsoc.com:

>
> On Setting Orange, the 9th day of Confusion, Aidan Kehoe claimed:
> >
> > Ar an 4u la de mi 6, scriobh Brian Foster :
> >
> > > #!/bin/bash #/bin/bash
> > > export COLUMNS=1000 exec ps.real -w "$ at domain "
> > > exec ps.real "$ at domain "
> >
> > As I understand it, the left-hand one of those won't work, because GNU
> > ps _ignores_ terminal settings (of which COLUMNS) is part when writing
> > to a pipe. Of course, my local GNU ps doesn't do any of this at all;
> >
> > $ ps --version
> > procps version 2.0.6
>
2.0.7 also seems to behave... ps -efw | less gives me wery long lines..

so, did it get fixed in 2.0.5 or 2.0.6. An exercise for the interested
reader?

L.

-- 
 Liam Bedford | Greg: Can't you see you're all alcoholics?
--------------| Guv: Oi. We don't call them that. We call
                     them fanatical followers of the Ale
		     Kaeda network.


This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:17:05 GMT