On Thursday 25 July 2002 9:31 am, Angus Leeming wrote:
> It transpires that awk is your friend:

I think that this sorts out lib/ui/default.ui properly:

/[iI][tT][eE][mM]/ || /[sS][uU][bB][mM][eE][nN][uU]/ {
  print "#: " FILENAME ":" FNR
  split($0,a,"\"")
  print "msgid \"" a[2] "\""
  print "msgstr \"\""
  print ""
}

Reply via email to