Quantcast
Channel: filter xml documents matching certains ids - Unix & Linux Stack Exchange
Browsing latest articles
Browse All 2 View Live

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 Article



filter 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
Browsing latest articles
Browse All 2 View Live




Latest Images