plan9port/man/man1/bundle.1

58 lines
1,014 B
Groff
Raw Normal View History

2005-01-03 06:40:20 +00:00
.TH BUNDLE 1
.SH NAME
bundle \- collect files for distribution
.SH SYNOPSIS
.B bundle
.I file ...
.SH DESCRIPTION
.I Bundle
writes on its standard output a shell script for
.IM rc (1)
2005-01-03 06:40:20 +00:00
or a Bourne shell
which, when executed,
will recreate the original
.IR files .
Its main use is for distributing small numbers of text files by
.IM mail (1) .
2005-01-03 06:40:20 +00:00
.PP
Although less refined than standard archives from
.I 9ar
(see
.IM 9c (1) )
2005-01-03 06:40:20 +00:00
or
.IM tar (1) ,
2005-01-03 06:40:20 +00:00
a
.IR bundle
file
is self-documenting and complete; little preparation is required on
the receiving machine.
.SH EXAMPLES
.TP
.L
bundle mkfile *.[ch] | mail kremvax!boris
Send a makefile to Boris together with related
.L .c
and
.L .h
files.
Upon receiving the mail, Boris may save the file sans postmark,
say in
.BR gift/horse ,
then do
.TP
.L
2005-01-13 04:49:19 +00:00
cd gift; sh horse; mk
2005-01-03 06:40:20 +00:00
.SH SOURCE
2005-01-11 17:37:33 +00:00
.B \*9/bin/bundle
2005-01-03 06:40:20 +00:00
.SH SEE ALSO
.I 9ar
(in
.IR 9c (1)),
.IR tar (1),
.IM mail (1)
2005-01-03 06:40:20 +00:00
.SH BUGS
.I Bundle
will not create directories and is unsatisfactory for non-text files.
2005-01-13 04:49:19 +00:00
.PP
2005-01-03 06:40:20 +00:00
Beware of gift horses.