Deprecating ps(1)s -w switch
Ivan Radovanovic
rivanr at gmail.com
Thu Aug 27 10:36:38 UTC 2009
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
More information about the freebsd-hackers
mailing list