On 08/05/2014 11:12 AM, Chema Gonzalez wrote:
>> Setting LC_ALL= to the empty string risks implementation-defined
>> behavior. Also, LC_ALL overrides LANG and LC_COLLATE. It should be
>> sufficient to merely do:
>>
>> }}' $temp | LC_ALL=C sort -k 1,1 | tee $temp2 | awk '{
>
> Maybe:
> }}' $temp | LC_ALL=C LANG=C sort -k 1,1 | tee $temp2 | awk '{No need to specify LANG=C when LC_ALL is set. I stand by my shorter line. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
