Grep command

Luca liliana.perossa at fastwebnet.it
Sat Nov 18 08:01:24 PST 2006


Romain Thouvenin wrote:
> On 11/16/06, Luca <liliana.perossa at fastwebnet.it> wrote:
>> Hi Romain,
>>
>> it's exactly what I'm trying, I've added a | sed at the end of the
>> command line, but I don't understand if it's possible to remove all the
>> duplicate .UTF-8, .ISO-<code> etc... with only one command.
>
> I guess something like : sed s/[.].*// would work
>
> Romain
I don't find my original mail but the commands I used output something like:
it_CH.UTF-8/UTF-8 it_CH.UTF-8
it_CH/ISO-8859-1 it_CH
it_IT.UTF-8/UTF-8 it_IT.UTF-8
it_IT/ISO-8859-1 it_IT
it_IT at euro/ISO-8859-15 it_IT at euro

however the problem has been solved.

Luca



More information about the lfs-support mailing list