mirror of
https://github.com/oasislinux/oasis.git
synced 2026-05-12 21:34:47 +02:00
10 lines
205 B
Awk
10 lines
205 B
Awk
/^(#|$)/ {next}
|
|
{
|
|
i = index($0, ":")
|
|
if (!i)
|
|
next
|
|
split(substr($0, 1, i - 1), key, ".")
|
|
if (lang == key[1] && (filter == "any" || key[2] == "all" || key[3] == filter))
|
|
print key[3] substr($0, i)
|
|
}
|