Re: [Toybox] new coreutils ls quoting options...

2018-05-03 Thread enh
On Thu, May 3, 2018 at 2:31 PM, Rob Landley wrote: > > On 05/03/2018 12:55 AM, enh wrote: > > i was surprised to see all the files in `ls` output indented by one > > space today. turns out that was because there was a file with a space > > in the name in that directory. > > I worked out that the r

Re: [Toybox] new coreutils ls quoting options...

2018-05-03 Thread Rob Landley
On 05/03/2018 12:55 AM, enh wrote: > i was surprised to see all the files in `ls` output indented by one > space today. turns out that was because there was a file with a space > in the name in that directory. I worked out that the reason ls had two spaces between columns is if an entry ends with

[Toybox] new coreutils ls quoting options...

2018-05-02 Thread enh
i was surprised to see all the files in `ls` output indented by one space today. turns out that was because there was a file with a space in the name in that directory. /tmp/x$ touch 'hello.txt' 'hello world.txt' /tmp/x$ ls hello.txt 'hello world.txt' /tmp/x$ ls -1 hello.txt 'hello world.txt' /t