Rdb: Ruby-Nachbau der MWC /rdb-Werkzeuge
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
.TH addcol "" "" "/rdb Command"
|
||||
.PC "Add a column to a table"
|
||||
\fBaddcol \fInewcolumn \fB< \fItable\fR
|
||||
.PP
|
||||
.II "add column to table"
|
||||
.II "column^add to table"
|
||||
The command
|
||||
.B addcol
|
||||
appends one or more new columns to
|
||||
.IR table .
|
||||
The column is initialized to blank spaces, and is given the name
|
||||
.IR newcolumn .
|
||||
.SH Example
|
||||
The command
|
||||
.DM
|
||||
addcol New < inventory
|
||||
.DE
|
||||
.PP
|
||||
modifies table
|
||||
.B inventory
|
||||
to appear as follows:
|
||||
.DM
|
||||
Item Amount Cost Value Description New
|
||||
---- ------ ---- ----- -------------- -------
|
||||
1 3 50 150 rubber gloves
|
||||
2 100 5 500 test tubes
|
||||
3 5 80 400 clamps
|
||||
4 23 19 437 plates
|
||||
5 99 24 2376 cleaning cloth
|
||||
6 89 147 13083 bunsen burners
|
||||
7 5 175 875 scales
|
||||
.DE
|
||||
.PP
|
||||
Note that column
|
||||
.B New
|
||||
has been added to the table.
|
||||
.SH "See Also"
|
||||
.B
|
||||
jointable,
|
||||
number
|
||||
.R
|
||||
Reference in New Issue
Block a user