Re: ls: add a switch not to strip the directory we gave
From:
Jim Meyering
Subject:
Re: ls: add a switch not to strip the directory we gave
Date:
Tue, 13 May 2003 21:24:26 +0200
address@hidden (Paul Jarc) wrote:
> Jim Meyering <address@hidden> wrote:
>> Did you use the name of an existing directory?
>
> $ cd ~
> $ mkdir -p foo/bar
> $ ls -t ~/foo | sed q
> bar
> $ readlink -f `ls -t ~/foo | sed q`; echo $?
> 1
Ahh.. I see what you mean, now. You're right.
Thanks for clarifying!