[EMAIL PROTECTED] (Paul Jarc) writes:

> "Bryce Nesbitt (mailing list account)" <[EMAIL PROTECTED]> wrote:
>> The "wc" command always seems to place leading spaces on all results, 
>
> It doesn't for me, with 5.2.1.  Upgrade?

Yes, the behavior changed in 5.1.0.  wc still outputs leading spaces
in some cases, to make the columns line up, but if you can assume
coreutils 5.1.0 or later you can rely on "wc -l" to omit leading
spaces when it is given zero operands or one operand.

POSIX allows leading spaces, though, so you can't rely on this
behavior in portable code.


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to