rich@cfib.UUCP (08/10/83)
#N:cfib:4600003:000:1003
cfib!rich Aug 9 21:18:00 1983
I would like to know if anyone has a program that does the equivalent of
'ls' using a System III 'date'-like output format string. I envision that
something like
ls "+%p %l %u %g %c %M %D %T %f"
would generate the equivalent of "ls -l":
-rw-r--r-- 1 root system 3473 Jun 6 14:23 filename
with each field occupying a fixed size. Of course, the same "ls" options
could be available in this program. A sorting option, taking a different
format string so dates could be sorted numerically and then printed in
alpha form, as above, would be nice. ISC has the beginnings of such a
program (their "ls"), but it will not let you specify the order of the
fields in the output, only their presence.
With something that's used as often and in as many situations as "ls",
there should not be so many restrictions on what file status information
can be displayed (and in what order).
Program submissions and/or ideas are welcome.
Rich Baughman
...decvax!cca!ima!cfib!rich