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.) Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstra�e 5, 90409 N�rnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
