[PLUG] Re: formatting output with ls

keith morse kgmorse at mpcu.com
Thu Jul 14 15:20:40 UTC 2005


Wil Cooley wrote:
> On Wed, 2005-07-13 at 00:16 -0700, keith morse wrote:
> 
>>Now that user names can be longer than 8 characters, I'm trying to get a 
>>aligned columnar listing from a directory such as /var/spool/mail.  I've 
>>seen an example of this somewhere, but for the life of me I can't remember 
>>how to do this.  I believe it was an option to /bin/ls.  So far my searches 
>>have come up short.  Ideas?
> 
> 
> Try 'find' with -printf instead.
> 
> Wil

To be sure, massaging this with find or like tools will work.  But I 
remember this being a facility within /bin/ls itself.  I'll keep looking.



More information about the PLUG mailing list