2 ms·
That's exactly what I meant. I used "interactively" to mean "attached to a tty." Look at what I was responding to: "for commands to not alter their behavior ba
by burntsushi 6y ago
That's exactly what I meant. I used "interactively" to mean "attached to a tty." Look at what I was responding to:
"for commands to not alter their behavior based on whether they're attached to a terminal or not"
ls is a clear counter-example of that.
I think the behavior is a good thing. I'm pushing back against this notion of what is "best practice" or not. It's more nuanced than "doesn't change its output format."