Skip to content

Instantly share code, notes, and snippets.

@skymansandy
Created November 3, 2016 17:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save skymansandy/94c2aaf14c945e009b503a04cb7a85b7 to your computer and use it in GitHub Desktop.
Save skymansandy/94c2aaf14c945e009b503a04cb7a85b7 to your computer and use it in GitHub Desktop.
#!bin/sh
#program to create a bundle script
if [ $# -eq 0 ]
then
echo "No arguments passed"
exit 1
fi
for i in $*
do
echo "echo "code to recreate the file $i ""
echo "cat>$i<<endf"
cat $i
echo "endf"
echo "echo" Creation done " "
done
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment