Skip to content

Instantly share code, notes, and snippets.

@markpbaggett
Created May 24, 2017 19:04
Show Gist options
  • Save markpbaggett/1031b2f87b57f9df3927fab30779940b to your computer and use it in GitHub Desktop.
Save markpbaggett/1031b2f87b57f9df3927fab30779940b to your computer and use it in GitHub Desktop.
Example sed script
#!/bin/bash
for X in *.xml; do sed -i_BAK -e 's/\ xlink=/ xlink:href=/g' $X; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment