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

2015-08-22 Thread Paul Eggert
Pádraig Brady wrote: Also base64 -w0 has similar meaning. I didn't know that, but I don't like that either. Utilities should use an explicit representation for infinity, if that's what they need. 'Inf', say. In the meantime, the patch that I installed is helpful even if we later add an

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

2015-08-22 Thread Beco
Dear developers, I'm writing to ask for a small change in an already existing feature of ls command. The switch is: -w, --width=COLS Let it be possible to state size ZERO as being infinity, for example: (A) ls -m -w0 (B) ls -x --width=0 That will ensure that: ls -m -w0 | wc -l 1 Meaning

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

2015-08-22 Thread Pádraig Brady
On 23/08/15 03:08, Beco wrote: On 22 August 2015 at 22:37, Paul Eggert egg...@cs.ucla.edu mailto:egg...@cs.ucla.edu wrote: 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

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

2015-08-22 Thread Beco
On 22 August 2015 at 22:37, Paul Eggert egg...@cs.ucla.edu wrote: 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