Skip to content

Instantly share code, notes, and snippets.

@riffm
Created May 24, 2012 11:26
Show Gist options
  • Save riffm/2780891 to your computer and use it in GitHub Desktop.
Save riffm/2780891 to your computer and use it in GitHub Desktop.
change xmlns shortcuts
#!/bin/sh
sed -i -r -e "s/xmlns:$1=/xmlns:$2=/g" -e "s/(\"|'|<|\/)$1:/\1$2:/g" $(find . -name '*.xsd')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment