Rdb: Ruby-Nachbau der MWC /rdb-Werkzeuge

This commit is contained in:
wkh
2026-10-11 20:33:17 +02:00
commit a9990169e9
308 changed files with 16738 additions and 0 deletions
+63
View File
@@ -0,0 +1,63 @@
.TH label "" "" "/rdb Command"
.PC "Print mailing labels from a mailing list"
\fBlabel < \fIlist\fR
.PP
.II "print mailing labels"
The command
.B label
prints mailing labels from a mailing list, in list format.
This command is obsolete because the command
.B report
can make labels more easily; but it is
is retained as an example of shell programming.
.PP
.B label
is a shell script so you can change it easily
to handle different lists and labels.
.SH Example
If you had a file called
.B maillist
that looked like this:
.DM
Number 1
Name Ronald McDonald
Company McDonald's
Street 123 Mac Attack
City Memphis
State TENN
ZIP 30000
Phone (111) 222-3333
.sp \n(pDu
Number 2
Name Chiquita Banana
Company United Brands
Street Uno Avenido de la Reforma
City San Jose
State Costa Rica
ZIP 123456789
Phone 1234
.DE
.PP
The command
.DM
label < maillist
.DE
.PP
generates mailing labels that look like this:
.DM
Ronald McDonald
McDonald's
123 Mac Attack
Memphis, TENN 30000
.sp 2
Chiquita Banana
United Brands
Uno Avenido de la Reforma
San Jose, Costa Rica 123456789
.DE
.SH "See Also"
.B
letter,
report
.R
.SO label