top | item 25198264 (no title) fratajcz | 5 years ago You can check if stdout is a tty: if it's not, you output raw text. GNU ls does this: by default it outputs in a multiple column layout, but when piped, it outputs one file per line. discuss order hn newest No comments yet.
No comments yet.