Skip to content

Instantly share code, notes, and snippets.

@danielgarciabsb
Last active March 17, 2021 02:48
Show Gist options
  • Save danielgarciabsb/e53b0f30eaed74e8b2b1129a671f05cf to your computer and use it in GitHub Desktop.
Save danielgarciabsb/e53b0f30eaed74e8b2b1129a671f05cf to your computer and use it in GitHub Desktop.
SOLARIS replace str in file
find . -type f | xargs perl -pi -e 's/CTeEvento/CTe/g;'
find . -type f -name '*.xml' | xargs perl -pi -e 's/retDistNFeEvento/retDistNFe/g;'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment