Grep command

Romain Thouvenin romain.thouvenin at gmail.com
Thu Nov 16 05:42:03 PST 2006


On 11/16/06, Luca <liliana.perossa at fastwebnet.it> wrote:
> I'm trying some extra things, actually I've done for the punctuation:
>
> grep "$1/" SUPPORTED | cut -d" " -f1 | tr  '/' '.'
>
>
> and finally the void is gone but still appended are extra things:
> zh_TW.EUC-TW.EUC-TW
> zh_TW.UTF-8.UTF-8
> zh_TW.BIG5
> zu_ZA.UTF-8.UTF-8
> zu_ZA.ISO-8859-1
>
> So now how do I manage to remove the extra ".UTF-8" ".ISO-8859-15" etc...?
>

Why not sending this to a sed command ?

Romain



More information about the lfs-support mailing list