#!/bin/sh # # @(#)bundle 1.1 # # bundle file ... # # Plan 9 bundle; a simple shell archiver. # echo '# To unbundle, run this file' for i do echo echo "$i" echo "sed 's/.//' >$i <<'//GO.SYSIN DD $i'" sed 's/^/-/' "$i" echo "//GO.SYSIN DD $i" done