Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
fratajcz
· 6y ago · 0 comments
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.
Comments
No comments yet.
Better HN