| 19 |
|
- |
| 20 |
|
.br |
| 21 |
|
.B getinfo |
| 22 |
+ |
{ |
| 23 |
|
.B -a |
| 24 |
+ |
| |
| 25 |
+ |
.B -r |
| 26 |
+ |
} |
| 27 |
|
.B "info_line1 .." |
| 28 |
|
.br |
| 29 |
|
.B getinfo |
| 77 |
|
These lines are given as arguments to |
| 78 |
|
.I getinfo, |
| 79 |
|
and must be quoted if they contain spaces. |
| 80 |
+ |
The alternative form with |
| 81 |
+ |
.I \-r |
| 82 |
+ |
replaces any previous occurances of the settings in the given |
| 83 |
+ |
line(s) with nothing if there is only one word, or with |
| 84 |
+ |
the whole line if quoted and containing interior white space or |
| 85 |
+ |
an equals sign ('='). |
| 86 |
|
.PP |
| 87 |
|
The fourth form of |
| 88 |
|
.I "getinfo \-c" |
| 116 |
|
and exposure calibration of a picture: |
| 117 |
|
.IP "" .2i |
| 118 |
|
getinfo -a "VIEW= -vta -vh 180 -vv 180" "EXPOSURE=1.5" < orig.hdr > modified.hdr |
| 119 |
+ |
.PP |
| 120 |
+ |
To remove any indented lines containing "EXPOSURE=" and replace any |
| 121 |
+ |
left-justified "EXPOSURE=" lines with a single value of 16: |
| 122 |
+ |
.IP "" .2i |
| 123 |
+ |
getinfo -r " EXPOSURE=" "EXPOSURE=16" < orig.hdr > fixed.hdr |
| 124 |
|
.PP |
| 125 |
|
To raise floating-point matrix elements to a power of 2.7: |
| 126 |
|
.IP "" .2i |