Skip to content

Instantly share code, notes, and snippets.

@lgrz
Created August 3, 2016 23:37
Show Gist options
  • Save lgrz/07a3be4f4fdad58eb738d4d3dcb7282f to your computer and use it in GitHub Desktop.
Save lgrz/07a3be4f4fdad58eb738d4d3dcb7282f to your computer and use it in GitHub Desktop.
#!/usr/bin/env gawk -f
{
split($0, arr)
for (i in arr) {
if (arr[i] ~ "@") {
gsub(/[<>]/, "", arr[i])
print arr[i]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment