[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: --format flag
From: |
Bruce Korb |
Subject: |
Re: --format flag |
Date: |
Tue, 16 Dec 2003 12:36:34 -0800 |
> 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.
I do not believe it would be a significant amount of work:
http://savannah.gnu.org/projects/snprintfv (whenever that
goes back online again). Personally, I'd choose to avoid
one letter cryptic entries and opt for:
ls --format="%w.n{mod} $w{inode} ${userid} ${username} ..."
There is this about it on my site:
http://www.gnu.org/software/autogen/manual/html_node/autogen_313.html#SEC313
but it is very brief, to say the least.
- --format flag, Chris Van Nuys, 2003/12/13
- Re: --format flag,
Bruce Korb <=
- Re: --format flag, Jim Meyering, 2003/12/16
- Re: --format flag, Bruce Korb, 2003/12/16
- Re: --format flag, Bruce Korb, 2003/12/16
- proposed new program: getpwnam [Re: --format flag, Jim Meyering, 2003/12/18
- Re: proposed new program: getpwnam [Re: --format flag, Bruce Korb, 2003/12/18
- Re: proposed new program: getpwnam [Re: --format flag, Bruce Korb, 2003/12/30
- Re: proposed new program: getpwnam [Re: --format flag, Bob Proulx, 2003/12/20