blob: c56e94303c62853a46c4f4bf2a9f55f66ab83ef5 [file] [log] [blame]
rsc058b0112005-01-03 06:40:20 +00001.TH BUNDLE 1
2.SH NAME
3bundle \- collect files for distribution
4.SH SYNOPSIS
5.B bundle
6.I file ...
7.SH DESCRIPTION
8.I Bundle
9writes on its standard output a shell script for
10.IR rc (1)
11or a Bourne shell
12which, when executed,
13will recreate the original
14.IR files .
15Its main use is for distributing small numbers of text files by
16.IR mail (1).
17.PP
18Although less refined than standard archives from
19.I 9ar
20(see
21.IR 9c (1))
22or
23.IR tar (1),
24a
25.IR bundle
26file
27is self-documenting and complete; little preparation is required on
28the receiving machine.
29.SH EXAMPLES
30.TP
31.L
32bundle mkfile *.[ch] | mail kremvax!boris
33Send a makefile to Boris together with related
34.L .c
35and
36.L .h
37files.
38Upon receiving the mail, Boris may save the file sans postmark,
39say in
40.BR gift/horse ,
41then do
42.TP
43.L
44cd gift; rc horse; mk
45.SH SOURCE
46.B /usr/local/plan9/bin/bundle
47.SH SEE ALSO
48.I 9ar
49(in
50.IR 9c (1)),
51.IR tar (1),
52.IR mail (1)
53.SH BUGS
54.I Bundle
55will not create directories and is unsatisfactory for non-text files.
56.br
57Beware of gift horses.