| 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 |
| 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 |
| 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) |