ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/doc/man/man1/getinfo.1
(Generate patch)

Comparing ray/doc/man/man1/getinfo.1 (file contents):
Revision 1.4 by greg, Tue Sep 4 17:36:40 2007 UTC vs.
Revision 1.7 by greg, Tue Aug 30 06:10:12 2016 UTC

# Line 12 | Line 12 | getinfo - get header information from a RADIANCE file
12   .br
13   .B getinfo
14   -
15 + .br
16 + .B getinfo
17 + .B -a
18 + .B "info_line1 .."
19 + .br
20 + .B getinfo
21 + .B -c
22 + .B "command .."
23   .SH DESCRIPTION
24   .I Getinfo
25   reads the header of each RADIANCE
# Line 37 | Line 45 | If no
45   .I file
46   is given, the standard input is read.
47   .PP
48 < The second form of getinfo with a hyphen simply removes the header
48 > The second form of
49 > .I getinfo
50 > with a hyphen simply removes the header
51   and copies the body of the file from the standard
52   input to the standard output.
53 + .PP
54 + The third form of
55 + .I "getinfo \-a"
56 + adds one or more header lines to the standard input.
57 + These lines are given as arguments to
58 + .I getinfo,
59 + and must be quoted if they contain spaces.
60 + .PP
61 + The fourth form of
62 + .I "getinfo \-c"
63 + is followed by a command and its arguments, which is executed
64 + on the data segment of the standard input.
65 + The header is passed along, with the addition of the command
66 + at the end.
67 + This is roughly equivalent to the following sequence, but does not
68 + require the input to be in a file:
69 + .IP "" .2i
70 + ( getinfo < input ; getinfo - < input | command .. )
71   .SH EXAMPLE
72 < To print the header information from scene1.oct and scene2.pic:
72 > To print the header information from scene1.oct and scene2.hdr:
73   .IP "" .2i
74 < getinfo scene1.oct scene2.pic
74 > getinfo scene1.oct scene2.hdr
75   .SH AUTHOR
76   Greg Ward
77   .SH "SEE ALSO"
78 < oconv(1), pfilt(1), rhinfo(1), rpict(1), rvu(1)
78 > oconv(1), pfilt(1), rcalc(1), rhinfo(1), rpict(1), rvu(1)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines