liliana.perossa at fastwebnet.it
Wed Nov 15 22:18:54 PST 2006
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).
aa_ER at saaho:<desc>
be_BY at latin
br_FR at euro
but the entries are duplicate, example:
ca_ES:title Catalan locale for Spain
ca_ES Catalan locale for Spain
ca_ES at euro:title Catalan locale for Catalonia with Euro
ca_ES at euro 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>?
More information about the lfs-support