Date: Thu, 27 Aug 2009 12:36:31 +0200 From: Ivan Radovanovic <rivanr@gmail.com> To: =?UTF-8?B?RGFnLUVybGluZyBTbcO4cmdyYXY=?= <des@des.no> Cc: freebsd-hackers@FreeBSD.org, Brian Somers <brian@FreeBSD.org> Subject: Re: Deprecating ps(1)s -w switch Message-ID: <4A9661AF.3040800@gmail.com> In-Reply-To: <86fxbd1rg1.fsf@ds4.des.no> References: <20090825034054.2d57e733@dev.lan.Awfulhak.org> <20090826234009.13b90734@dev.lan.Awfulhak.org> <86fxbd1rg1.fsf@ds4.des.no>
next in thread | previous in thread | raw e-mail | index | archive | help
Dag-Erling Smørgrav napisa: > Actually, ls does pretty much the same thing (use a different layout > when run on a tty), and it's far from the only Unix utility to do so. > Usually, the tty layout is "pretty" while the non-tty layout is easier > to work with in scripts. > Actually ls doesn't work the same - ls tries to format its output according to terminal but if it can't it won't just chop off any piece of information, and if you pipe ls into other command's input ls behaves as not running on tty - ps behaves in the opposite way in both cases
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A9661AF.3040800>