HTML automatically generated with rman
Table of Contents

Name

tabcomment - Add comments to a table, or comment certain lines

Synopsis

tabcomment in= out= [parameter=value]

Description

tabcomment comments selected lines of a text file.

A comment line is a line that starts with a # symbol, and is recognized as such by many NEMO and other kind of programs.

Comment lines can be selected as lines that are blank, start with an alpha or start with punctuation ( in particular the functions isspace, isalpha and ispunct from ctype(3) are used to detect this, always skipping initial whitespace of course) Individual control over each of these types can be given, see below.

Parameters

The following parameters are recognized in any order if the keyword is also given:
in=
input ascii table. No Default.
out=
output ascii table. No Default.
alpha=t|f
Comment lines that start with alpha? [Default: t].
blank=t|f
Comment blank lines (lines that only contain blanks, see isspace) [Default: t].
punct=t|f
Comment lines that start with a punctuation character (neither control nor alphanumeric, see also ispunct). [Default: t].
delete=t|f
Delete comment lines from output? [Default: f].
comment=
The actual comment character to be used at the beginning of the line. Although it is not adviced to use anything but the ’#’ symbol, the comment characters. Default: #.

Examples

Author

Peter Teuben

Update History


01-aug-92    V1.0 Created    PJT
14-sep-92    V1.1 added delete=; also updated man    PJT
20-may-93    updated man    PJT
18-oct-04    V2.0 allow change of comment character    PJT


Table of Contents