[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

-- 
     2. That which causes joy or happiness.


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



Reply to: