Program gto_min

The gto_min computes the minium value in each row between two files.

For help type:

./gto_min -h


In the following subsections, we explain the input and output paramters.

Input parameters

The gto_min program needs two streams for the computation, namely the input, which are two decimal files.

The attribution is given according to:

Usage: ./gto_min [options] [[--] args]
or: ./gto_min [options]

It computes the minimum value in each row between two files.

-h, --help Show this help message and exit

Basic options
-f, --first_file= File to compute the max
-s, --second_file= The second file to do the max computation
> output.num Output numeric file (stdout)

Example: ./gto_min -f input1.num -s input2.num > output.num


An example of such an input files are:

File 1:

0.123
3.432
2.341
1.323
7.538
4.122
0.242
0.654
5.633


File 2:

2.123
5.312
2.355
0.124
1.785
3.521
0.532
7.324
2.312


Output

The output of the gto_min program is the numeric file with the minimum value for each row between both input files.

Executing the application with the provided input, the output of this execution is:

0.123000
3.432000
2.341000
0.124000
1.785000
3.521000
0.242000
0.654000
2.312000