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!!
|