On Thu, Jan 20, 2005 at 12:57:39AM +0000, Nic Ferrier wrote:

> 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.

What sort of find invocation?   Something like just

        find childdir | xargs 

perhaps?   Or if you need to know more about the files,

        find childdir -maxdepth 1 -ls 

?

Regards,
James.



_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to