Skip to content

Instantly share code, notes, and snippets.

@diegopacheco
Created January 12, 2024 23:05
Show Gist options
  • Save diegopacheco/7bf32e12ff7d6a179750db4231e2cb65 to your computer and use it in GitHub Desktop.
Save diegopacheco/7bf32e12ff7d6a179750db4231e2cb65 to your computer and use it in GitHub Desktop.
Extract XML from sed
 sed -n 's,.*<GetCompensableProductIdentification>\(.*\)</GetCompensableProductIdentification>.*,\1,p' input
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment