On Thu, Oct 30, 2025 at 23:08:54 +0100, Nicolas George wrote: > Greg Wooledge (HE12025-10-30): > > > (1) ls does not output columns when its output is not a tty; > > It does, in this case, because the output was being piped. > > You are not being clear. If the output is piped, then the output of ls > is a pipe, not a tty, and therefore it does not output columns. You can > check.
I think we're getting lost in the terminology. When the output of ls is a pipe, ls writes one filename per line. The output is therefore a single column.

