Re: [PATCH]: ls: add --user-format option for user defined format
From:
Jim Meyering
Subject:
Re: [PATCH]: ls: add --user-format option for user defined format
Date:
Sat, 22 Nov 2008 14:30:48 +0100
Hi Ondřej,
By the way, someone wrote this privately:
> [a] reservation I have against adding --printf to ls is that
> inexperienced shell scripters will use that before find -printf.
> Thus shell scripts on newer linux systems will tend to become
> less portable wrt older linux and other posix systems.
That is true, but if we (you ;-) do the job right,
the documentation for ls --printf will strongly urge
the reader to avoid using it in scripts, with a suggestion
to use find's more portable -printf predicate instead.