Table of Contents

Name

tablines - select lines from a file

Synopsis

tablines [parameter=value]

Description

tablines selective copies lines from an input (ASCII) table. Selection is done by line numbers, 1 being the first line. Syntax follows the nemofie(1NEMO) rules.

Parameters

The following parameters are recognized in any order if the keyword is also given:
in=
input file. No default.
out=
output fil. No default.
select=
lines to select [all]
comment=t|f
Count comment lines too? [t]
nmax=
Default max allocation of the linecount in a table from a pipe [10000].

Examples

To find the square root of any number n between 1 and 100:
    nemoinp 1:100:1 > t1
    tabmath t1 t2 ’sqrt(%1)’ all
    tablines t2 - select=n

See Also

awk(1) , tabmath(1NEMO)

Files

src/kernel/tab

Author

Peter Teuben

Update History


9-Mar-99    V0.9 Created     PJT


Table of Contents