Hacker News new | ask | show | jobs
by kjeetgill 1695 days ago
I feel like I'm going to be bit when I try commands interactively and then that act differently in a script. I think the current solution is the pragmatic one, don't standardize things you can't pull off standardizing! #!
1 comments

The ls command does this: if output is to a tty then it prints in columns. Many commands add color when the output is a tty. I don’t think it would be a big issue.
Not the person you replied to, but I hadn't thought about that particular difference and I take it for granted, so thanks for bringing it up!