bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ls display directory context?


From: Nic Ferrier
Subject: ls display directory context?
Date: Thu, 20 Jan 2005 00:57:39 +0000

This is not so much a bug as a feature enquiry. Sorry about that, I
don't know who else to ask about this.

Is there any reason (apart from POSIX compliance) why ls cannot output
file lists with the directory context attached to the file?

For example:

  $ cd somedir
  $ ls --with-dir-ctx childdir 
  childdir/in.txt childdir/my.txt childdir/craft.txt

This simple feature would replace a lot of complex find invocations
for me.

If this is not a lame idea I would be prepared to provide a patch to
GNU ls.

So: is it a lame idea?

-- 
Nic Ferrier
http://www.tapsellferrier.co.uk




reply via email to

[Prev in Thread] Current Thread [Next in Thread]