Luca wrote:
> Hi all!
>
> Only a question about a grep command:
>
> I pass at console the following command:
> "grep -H ^title /usr/share/i18n/locales/* 2> /dev/null | awk -F '"' '
> sub(".*/", "", $1); sub("[\\.:].*", "", $1);' "
> and the output is like:
> aa_DJ:title Afar language locale for Djibouti (Cadu/Laaqo Dialects).
> then
> [EMAIL PROTECTED]:<desc>
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> etc...
> but the entries are duplicate, example:
> ca_ES:title Catalan locale for Spain
> ca_ES Catalan locale for Spain
> [EMAIL PROTECTED]:title Catalan locale for Catalonia with Euro
> [EMAIL PROTECTED] Catalan locale for Catalonia with Euro
>
> and the ISO and UTF-8 are not showed.
>
> So, what should I add to the command to see only the:
> <ll>_<LL>.<iso-xxxx-xx> <euro variant> or <ll>_<LL>.<UTF-X>?
>
> Thanks,
> Luca
>
I meant, just to be sure, what's to be added to see the entire list with
entries showed like the "locale -a" command but with the .utf8 .UTF-8
correction?
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page