[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ls -l format changed ?



> On Mon, Jul 01, 2002 at 01:30:20PM +0400, Nikita V. Youshchenko wrote:
>> Now date and time is printed in different format.
> 
> And another one in the series of mindless locale changes...
> 
>> I've used to use
>> 
>>   ls -l xxx | awk '{print($11)}'
>> 
>> to dereference symlinks from shell scripts.
> 
> You can skip the parsing and just use readlink, e.g.
> 
> % readlink -f /var/mail
> /var/spool/mail
> % dpkg -S =readlink
> debianutils: /bin/readlink

Unfortunately it is debian-specific.
awk '{print($11)}' was protable across many systems until today.


-- 
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: