Andreas Schwab <[EMAIL PROTECTED]> writes:

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

or commas in the replacement (of course, you can always choose a new
replacement, but you get my point).

But it is a good solution. Much better than my find.

But do you think it is good enough? Wouldn't an ls switch be nice for
this kind of thing?

I'll shut up about it no one else can see the utility of the feature.

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


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

Reply via email to