↧
Answer by igal for filter xml documents matching certains ids
Summary I wrote a Python solution, a Bash solution, and an Awk solution. The idea for all the scripts is the same: go through line-by-line and use flag variables to keep track of state (i.e. whether or...
View Articlefilter xml documents matching certains ids
Suppose you have a file containing many xml documents, like <a> <b> ... </a> in between xml documents there may be plain text log messages <x> ... </x> ... How would I...
View Article