plan9fox/rc/bin/bundle

9 lines
173 B
Text
Raw Normal View History

#!/bin/rc
echo '# To unbundle, run this file'
for(i in $*){
echo 'echo '$i
echo 'sed ''s/.//'' >'$i' <<''//GO.SYSIN DD '$i''''
sed 's/^/-/' $i
echo '//GO.SYSIN DD '$i
}