Web lists-archives.com

Re: question about ls




On Thu, 27 Sep 2018 09:14:00 -0400, Greg Wooledge <wooledg@xxxxxxxxxxx> wrote:
> But also note that using ls -l gives a completely wrong answer.
>
> wooledg:~$ mkdir /tmp/x && cd "$_"
> wooledg:/tmp/x$ touch $'this\nis\none\nfile'
> wooledg:/tmp/x$ ls -l | wc -l
> 5
>

	What about 'ls -1b | wc -l'?

-- 
Virgo Pärna 
virgo.parna@xxxxxxx