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.5 by greg, Mon Nov 10 19:08:17 2008 UTC vs.
Revision 1.6 by greg, Mon Jul 28 17:25:03 2014 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 -c
18 + .B "command .."
19   .SH DESCRIPTION
20   .I Getinfo
21   reads the header of each RADIANCE
# Line 37 | Line 41 | If no
41   .I file
42   is given, the standard input is read.
43   .PP
44 < The second form of getinfo with a hyphen simply removes the header
44 > The second form of
45 > .I getinfo
46 > with a hyphen simply removes the header
47   and copies the body of the file from the standard
48   input to the standard output.
49 + .PP
50 + The third form of
51 + .I "getinfo \-c"
52 + is followed by a command and its arguments, which is executed
53 + on the data segment of the standard input.
54 + The header is passed along, with the addition of the command
55 + at the end.
56 + This is roughly equivalent to the following sequence, but does not
57 + require the input to be in a file:
58 + .IP "" .2i
59 + ( getinfo < input ; getinfo - < input | command .. )
60   .SH EXAMPLE
61   To print the header information from scene1.oct and scene2.hdr:
62   .IP "" .2i
# Line 47 | Line 64 | getinfo scene1.oct scene2.hdr
64   .SH AUTHOR
65   Greg Ward
66   .SH "SEE ALSO"
67 < oconv(1), pfilt(1), rhinfo(1), rpict(1), rvu(1)
67 > oconv(1), pfilt(1), rcalc(1), rhinfo(1), rpict(1), rvu(1)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines