DescriptionAppend_vals.pl is a HFPM module that appends selected field values and environmental variable values to some given files.Usageappend_vals.pl {destination_files} [-v {fld | $fld | %envvar}] in the pipeline.
Usage ExplanationThe fields and environmental variables are given as arguments to the program and the non-null ones are appended to the destination files in a particular format. If none are given as arguments, then a whitespace-separated list of arguments are taken from the "_append_vals" field.A '%' prefix indicates the argument is an environmental variable and a '$' prefix means a form field argument, which is the default. In addition, a field or environmental variable pseudo-name of "all" refers to all fields or environmental variables except those that are null or whose name begins with an underscore ("_"). If no destination files are given as arguments, then the field "_appendfile" is interpreted as a whitespace-separated list of files.
Examples
Other NotesThe current version number is 1.0.The is module should work on any Unix machine. This module can be used more than once in the pipeline. |