You are not logged in.

#1 2006-01-05 12:49:59

Komodo
Member
From: Oxford, UK
Registered: 2005-11-03
Posts: 674

Ability to grep restricted by terminal dimensions [SOLVED]

If I grep e.g. ps aux for something, no results are found unless the terminal is physically large enough to show the text I'm grepping for. How odd!

Might it be because I use the 'most' pager? I can't think of any other reason...


.oO Komodo Dave Oo.

Offline

#2 2006-01-05 13:33:06

jp_fielding
Member
Registered: 2004-08-28
Posts: 85

Re: Ability to grep restricted by terminal dimensions [SOLVED]

add the 'ww' options to ps.  that's wide and wider if im not mistaken.  that will ensure you get everything for the ps command.

Offline

#3 2006-01-05 13:48:20

Komodo
Member
From: Oxford, UK
Registered: 2005-11-03
Posts: 674

Re: Ability to grep restricted by terminal dimensions [SOLVED]

nice one jp, that fixed it smile


.oO Komodo Dave Oo.

Offline

Board footer

Powered by FluxBB