help with bundle script
i have a bundle script:
#!/bin/sh #bundle group files in distribution package echo"# To unbundle sh this file" for i do echo "echo $i 1>&2" echo "cat >i <<'End of $i'" cat $i echo "END of $i" done This script works it bundles and unbundles all file given as arguments. Now i want to change the script so i can unbundle only some files given as arguments.If no files are given as arguments all file should be recreated. I need help with this. How do i change the script so i can do this?? Thanks for the help!! |
I don't follow what you are trying to do? Join lots of files together into a single larger file? Then split them up again after? If so why can't you use tar?
cheers Jamie... |
yes tar is cool'
But i need to change this bundle script. this is related to the Here document. cheers black |
All times are GMT -5. The time now is 12:08 AM. |