Skip to content

Instantly share code, notes, and snippets.

@barmic
Last active April 14, 2021 15:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save barmic/6d9ae8f8a8e4c0a45528b829623a88a0 to your computer and use it in GitHub Desktop.
Save barmic/6d9ae8f8a8e4c0a45528b829623a88a0 to your computer and use it in GitHub Desktop.
<PCR ... Type="THIS">
<MD>
<V ... ATTR="FOO" ...>42</Value>
</MD>
</PCR>
/<PCR/ {
a = 1
}
1==a && /FOO/ {
print FILENAME
}
/<\/PCR>/ {
a = 0
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment