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.8 by greg, Sat Jul 6 14:08:07 2019 UTC

# Line 11 | Line 11 | getinfo - get header information from a RADIANCE file
11   ]
12   .br
13   .B getinfo
14 + [
15 + .B -d
16 + ]
17   -
18 + .br
19 + .B getinfo
20 + .B -a
21 + .B "info_line1 .."
22 + .br
23 + .B getinfo
24 + [
25 + .B -d
26 + ]
27 + .B -c
28 + .B "command .."
29   .SH DESCRIPTION
30   .I Getinfo
31   reads the header of each RADIANCE
# Line 37 | Line 51 | If no
51   .I file
52   is given, the standard input is read.
53   .PP
54 < The second form of getinfo with a hyphen simply removes the header
54 > The second form of
55 > .I getinfo
56 > with a hyphen simply removes the header
57   and copies the body of the file from the standard
58   input to the standard output.
59 + If the
60 + .I \-d
61 + option is included, then the resolution string will be elided as well.
62 + .PP
63 + The third form of
64 + .I "getinfo \-a"
65 + adds one or more header lines to the standard input.
66 + These lines are given as arguments to
67 + .I getinfo,
68 + and must be quoted if they contain spaces.
69 + .PP
70 + The fourth form of
71 + .I "getinfo \-c"
72 + is followed by a command and its arguments, which is executed
73 + on the data segment of the standard input.
74 + The header is passed along, with the addition of the command
75 + at the end.
76 + This is roughly equivalent to the following sequence, but does not
77 + require the input to be in a file:
78 + .IP "" .2i
79 + ( getinfo < input ; getinfo - < input | command .. )
80 + .PP
81 + If the
82 + .I \-d
83 + option is included, then the resolution string will be copied
84 + before the command is called.
85   .SH EXAMPLE
86   To print the header information from scene1.oct and scene2.hdr:
87   .IP "" .2i
# Line 47 | Line 89 | getinfo scene1.oct scene2.hdr
89   .SH AUTHOR
90   Greg Ward
91   .SH "SEE ALSO"
92 < oconv(1), pfilt(1), rhinfo(1), rpict(1), rvu(1)
92 > oconv(1), pfilt(1), rcalc(1), rhinfo(1), rpict(1), rsplit(1), rtrace(1), rvu(1)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines