Commands with options: (was: war story: parallel(1) command)

phiscock-g851W1bGYuGnS0EtXVNi6w at public.gmane.org phiscock-g851W1bGYuGnS0EtXVNi6w at public.gmane.org
Sun Jul 28 20:04:56 UTC 2013


Whoops.

ls -colour works, the directories are a different colour.
ls -colour | more does not work, the directories are the same colour.

ls -d is claimed in the manual entry to list directories, but it just
lists the current directory. Has anyone actually used this feature?

Interestingly ls -d /* does list directories...and in colour. Piping that
to 'more' removes the colour.

Peter


-- 
Peter Hiscocks
Syscomp Electronic Design Limited, Toronto
http://www.syscompdesign.com
USB Oscilloscope and Waveform Generator
647-839-0325

--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list