ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/doc/man/man1/rlam.1
Revision: 1.2
Committed: Mon Jun 13 22:40:46 2005 UTC (18 years, 10 months ago) by greg
Branch: MAIN
CVS Tags: rad3R7P2, rad3R7P1
Changes since 1.1: +8 -4 lines
Log Message:
Changed rlam -t option to accept strings as well as tab characters

File Contents

# Content
1 .\" RCSid "$Id: rlam.1,v 1.1 2004/01/01 19:31:45 greg Exp $"
2 .TH RLAM 1 7/8/97 RADIANCE
3 .SH NAME
4 rlam - laminate lines (records) from multiple files
5 .SH SYNOPSIS
6 .B rlam
7 [
8 .B \-tS
9 ]
10 input1 input2 ..
11 .SH DESCRIPTION
12 .I Rlam
13 simply joins lines from multiple inputs, separating them with
14 the given separator string (TAB by default).
15 Different separators may be given for different files by specifying
16 additional
17 .I \-t
18 options in between each file name.
19 An input is either a stream or a command.
20 Commands are given in quotes, and begin with an exclamantion point ('!').
21 If the inputs do not have the same number of lines, then
22 shorter files will stop contributing to the output as they
23 run out.
24 .PP
25 A hyphen ('-') by itself can be used to indicate the standard
26 input.
27 .SH EXAMPLE
28 To join files output1 and output2, separated by a comma:
29 .IP "" .2i
30 rlam -t, output1 output2
31 .PP
32 To join a file with line numbers (starting at 0) and its reverse:
33 .IP "" .2i
34 cnt `wc -l < lam.c` | rlam - -t: lam.c -t\| '!tail -r lam.c'
35 .SH AUTHOR
36 Greg Ward
37 .SH "SEE ALSO"
38 cnt(1), neaten(1), rcalc(1), tabfunc(1), total(1)