bug-coreutils
[Top][All Lists]
Advanced

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

Re: ls -l|head seems to look at all files in directory


From: Bob Proulx
Subject: Re: ls -l|head seems to look at all files in directory
Date: Mon, 25 May 2009 14:14:08 -0600
User-agent: Mutt/1.5.18 (2008-05-17)

> Good point.  The -1 is not needed when ls' stdout is a pipe.
> Thanks.

It was all of the discussion about 'ls -l | head' needing 'ls -1U'
that confused me.  I had read that strangly (incorrectly) and thought
that 'ls -U | head' was going to be different from 'ls -1U | head' and
that prompted me to ask for a clarification.  Glad it was just my
reading of the mail that put me into confusion.  Reading through the
mail again I now see that it was the 'ls -l' that was being discussed
at that point.  (You know we used to use 'l' for '1', yes, that is my
excuse. :-)


Bob




reply via email to

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