Last active
March 7, 2023 11:28
-
-
Save kerbrose/7c37182a53aebd65e5783930938fe799 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
xml_split -v -l 1 ./ir_model_fields_3.xml | |
for name in $(ls | egrep -i 'ir_model_fields_3-*'); do | |
sed -i -e '2i<odoo>\' $name | |
sed -i -e '$a</odoo>\' $name | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment