logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git

messages.awk (205B)


  1. /^(#|$)/ {next}
  2. {
  3. i = index($0, ":")
  4. if (!i)
  5. next
  6. split(substr($0, 1, i - 1), key, ".")
  7. if (lang == key[1] && (filter == "any" || key[2] == "all" || key[3] == filter))
  8. print key[3] substr($0, i)
  9. }