Skip to content

Instantly share code, notes, and snippets.

Created July 4, 2012 07:41
Show Gist options
  • Select an option

  • Save anonymous/3045942 to your computer and use it in GitHub Desktop.

Select an option

Save anonymous/3045942 to your computer and use it in GitHub Desktop.
stdin
sed -n 's/.*<set value='\''\([^'\'']*\)'\'' name='\''\([^'\'']*\)'\'' \/>.*/\1,\2\n/pg' test | sed '/^$/D'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment