cvs commit: src Makefile.inc1

Alexey Dokuchaev danfe at nsu.ru
Mon Dec 15 02:56:07 PST 2003


On Mon, Dec 15, 2003 at 12:46:47PM +0200, Sheldon Hearn wrote:
> On (2003/12/15 15:50), Alexey Dokuchaev wrote:
> 
> > Frankly, adding an option to ls(1) or writing ls(1) -l/awk(1) combo
> > takes my vote, rather than adding yet another foo(1) utility to the
> > base; especially provided that its functionality isn't strictly
> > orthogonal.
> 
> Hmmm, I don't know.  POSIX suggests that scripts should not rely on the
> output of formatted ls(1) output.

Yes, that's why having stat(1) in -CURRENT is OK.  Since we hardly can
claim 4.x as fully POSIX-compliant, dealing with "ls/stat" trade-off
via ls(1) is not that bad.  After all, if we hack needed (minor)
functionality into ls(1) and provide new command line option, we can
avoid cumbersome parsing of `ls -l' output, yet not pulling stat(1) from
-CURRENT at the same time.

./danfe



More information about the cvs-src mailing list