Chris Van Nuys <[EMAIL PROTECTED]> wrote:
> The item from the TODO list:
>
> ls:  add --format=FORMAT option that controls how each line is printed:
>
> My question is, would FORMAT be a string or a character like the rest
> of the flags for ls?  For example, would you have something like:  'ls
> -l --format=octal', or something more like 'ls -l --format=o"?

No, more like the following: (warning, these are `made-up' format directives;
it'd take some careful thought to come up with proper choices):

  ls --format="%M %I %U %G %B %D %f\n"

Implementing something like that properly
would involve a significant amount of work.
If you're interested, look at how GNU find's -printf works.


_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to