bug-coreutils
[Top][All Lists]
Advanced

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

bug#21325: ls : feature request --width=zero


From: Paul Eggert
Subject: bug#21325: ls : feature request --width=zero
Date: Sat, 22 Aug 2015 18:37:00 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0

Beco wrote:

For now a workaround is just use a very big number for width, say -w10000,
but this hack must be checked beforehand in any directory.

That's annoying. Thanks for the bug report. I'm a bit dubious about equating zero to infinity, though, so I installed the attached patch instead. It will let you use whatever large number you like. E.g.:

  ls -w999999999999999999999999999999999999999999999999999999999999999999

will do the right thing.  For now, you can work around the problem with:

  ls -w4294967295

which should work on unpatched GNU ‘ls’.

Attachment: 0001-ls-allow-w18446744073709551616.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]