Eric Blake wrote:
> >> Pierre-Jean wrote:
> >
> >>> I'm trying to sort a file containing accents and numbers,
> >>> but can't find a way to do this correctly:
> Also be
> open to the idea that it might be a bug in your locale definition, where
> the rules picked by your choice of LC_COLLATE coul
Pierre-Jean wrote:
> Jim Meyering wrote:
>
>> Pierre-Jean wrote:
>
>> > I'm trying to sort a file containing accents and numbers,
>> > but can't find a way to do this correctly:
>
>
>> The trick is to specify sorting with "-f" for the first column
>> and "-V" for the second. Then it does what yo
On 08/01/2012 04:48 AM, Pierre-Jean wrote:
> Jim Meyering wrote:
>
>> Pierre-Jean wrote:
>
>>> I'm trying to sort a file containing accents and numbers,
>>> but can't find a way to do this correctly:
>
>
>> The trick is to specify sorting with "-f" for the first column
>> and "-V" for the seco
Jim Meyering wrote:
> Pierre-Jean wrote:
> > I'm trying to sort a file containing accents and numbers,
> > but can't find a way to do this correctly:
> The trick is to specify sorting with "-f" for the first column
> and "-V" for the second. Then it does what you seem to want:
>
> echo "
Pierre-Jean wrote:
> I'm trying to sort a file containing accents and numbers,
> but can't find a way to do this correctly:
>
> - Without -V option, accents are correctly sorted, but not
> numbers.
> - With -V option, numbers are correctly sorted, but not
> accents.
>
> Here is an example:
>
>
Hello alls,
I'm trying to sort a file containing accents and numbers,
but can't find a way to do this correctly:
- Without -V option, accents are correctly sorted, but not
numbers.
- With -V option, numbers are correctly sorted, but not
accents.
Here is an example:
echo "
A 10
A 9
E 10
E 9