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

Re: ls -l format changed ?



>> I've used to use
>> 
>>   ls -l xxx | awk '{print($11)}'
>> 
>> to dereference symlinks from shell scripts.
> 
> ...that's fundamentally broken. You *should not* depend on
> locale-dependent output. You'll have somewhat better luck depending on
> the output of the "C" locale, which is more standardized. (But such a
> dependency will still not necessarily be portable and doing this is not
> recommended.)

I always work with ru_RU.KOI8-R locale. I am aware of some locale-related 
problems. But ls -l format was not dependent on locale before today.


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



Reply to: