Gamma DISP: Reference Manual


get_value

ANSI-C program: get_value.c

NAME
get_value - search a keyword based parameter using a key and copy the value to stdout.

SYNOPSIS

get_value <PAR_in> <keyword>

<PAR_in> input keyword:value based parameter file
<keyword> search keyword of keyword:value pair

EXAMPLE

get_value 05263.slc.par image_format

searches the keyword:value  pairs in 05263.slc.par for 

image_format:  SCOMPLEX

and outputs the value SCOMPLEX to stdout.

DESCRIPTION get_value reads the input keyword: value organized parameter file a line at a time searching for the keyword. A semicolon is used to denote the end of a keyword and a newline denotes the end of a line. If the keyword is found then the value is printed to standard output..


© Copyrights for Documentation, and Reference Manual by Gamma Remote Sensing, 2006.
UW, CW, last change  10-Apr-2006.