Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/bin/ls



    Date:        Tue, 5 Nov 2024 13:32:01 -0500
    From:        Jan Schaumann <jschauma%netmeister.org@localhost>
    Message-ID:  <ZypkoYCpVO0vpNtT%netmeister.org@localhost>

  | "If the output is to a terminal and results in multiple
  | columns being printed, a total sum for all the file
  | sizes is output on a line before the listing."

It actually has almost nothing to do with whether or not
the output is to a terminal (that part of the description
that was there is at best misleading).

The "almost" is that -C is the default format if the output
is a terminal, and -1 if it isn't.

That's as far as "terminal" is relevant, but that can alter
the results.

Is is the output format which is chosen (by option, or by
using the rule to select the default) which affects what is
output.

And I believe that the -x and -C variation depending upon how
many columns are output really is a bug, that should just be
fixed.

kre


Home | Main Index | Thread Index | Old Index