Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- echo "Combining files"
- cat sif*.xml > sif_comb.xml
- echo "Removing unnecessary sif tags"
- sed -i -e '/<sif>/d' -e '/<\/sif>/d' sif_comb.xml
- echo "<sif>" >> sif_combined.xml
- cat sif_comb.xml > sif_combined.xml
- echo "</sif>" >> sif_combined.xml
- echo "Deleting temp file"
- rm -v sif_comb.xml
Add Comment
Please, Sign In to add comment