Re: question about ls
- To: debian-user@lists.debian.org
- Subject: Re: question about ls
- From: Virgo Pärna <virgo.parna@mail.ee>
- Date: Wed, 3 Oct 2018 12:01:02 +0000 (UTC)
- Message-id: <[🔎] slrnpr9c01.ase.virgo.parna@dragon.ad.gaiasoft.ee>
- References: <e34fe5a9-356c-1feb-bf5b-4b25f54ddfbb@torfree.net> <887626753.2547401.1537914423602@mail.yahoo.com> <7a1a8ce8-0d0b-c971-a5e8-6d97ac5eef52@transient.nz> <321757126.2547634.1537915936304@mail.yahoo.com> <1247903238.2558165.1537916116125@mail.yahoo.com> <72360a33-869b-58ec-f201-8a1d0abfb32f@transient.nz> <CAByJ6DExm3t3ZBUdkz0aXJBvZB_K7UPYiBxzUYSbiV6VMaEGdA@mail.gmail.com> <20180927131400.h4b2auo7mcad2gny@eeg.ccf.org>
On Thu, 27 Sep 2018 09:14:00 -0400, Greg Wooledge <wooledg@eeg.ccf.org> 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@mail.ee
Reply to: