SPRAAK
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
spr_getkey.c File Reference

Get a key from the header of a KEY file. More...

Detailed Description

Get a key from the header of a KEY file.

spr_getkey <-i fname_in> [-o fname_out](stdout) <-k key> [-v val]
Parameters
-i<em>fname_in</em><aname="spr_getkey.i" class="el">
Input file name.
-o<em>fname_out</em><aname="spr_getkey.o" class="el">
Output file name, i.e. file to write the key value to.
-k<em>key</em><aname="spr_getkey.k" class="el">
The key which value has to be retrieved.
-v<em>val</em><aname="spr_getkey.v" class="el">
Default value to print when the key is not available. Without default value, the program will stop with an error message if the key is missing.

Get a key fromthe header of a KEY file.

getkey
Get a single key from the given input file and write its value to the given output file.
Author
Kris Demuynck
Date
02/04/2010