Andreas Schwab wrote:
Nic Ferrier <[EMAIL PROTECTED]> writes:

I've considered the semantics of the --dircontext switch. I think what
I actually want is ls to be able to acknowledge what directory I told
is to look in.

So if I say:

  ls --dircontext childdir

it comes back with:

childdir/a.txt childdir/b.txt


$ ls childdir | sed 's,^,childdir/,'

(Uses -1 format and doesn't handle newlines in file names.)

I was going to suggest the same thing, but that doesn't handle when multiple childdirs are passed

--
P�draig Brady - http://www.pixelbeat.org
--- Following generated by rotagator ---

A common requirement in shell scripts is to print
numbers with thousands seperators.
You can use do this like: (notice the ')

printf "%'d\n" 1234
--


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

Reply via email to