<html>
<body>
<pre>
<tt>
#!/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
</tt>
</pre>
<HR>
© 1998,
Boyd Roberts:
<A HREF="mailto:[email protected]">[email protected]</A>
</body>
</html>
|