Merge Files Vertically

This software merges n text files vertically. If the files are tables, it is possible to skip the headers in order to obtain a large table with only one header. Of course the headers have to be identical. Version 0.2 check if the 1st line of the header is the same if skip header option is used. If you merge tables and the column order is not the same, consider Select columns in table.

Manual :

1- if not already installed, install Perl free programming language

2- unzip the software

3- copy your text files in the “data” directory.

4- execute the software by the command : perl software_name

NAME

merge_vertical_XXX.pl

DESCRIPTION

This software takes csv tables or txt files as input and merge them vertically into one single file

Using -s argument it is possible to skip the header of the files starting to the second file.

AUTHOR

Frederic PONT (c) 2015

OPTIONS

-s number of line to skip

Specify the number of line of header to skip

1 will be used by default.

-h

Give syntax. This argument must be the first.

-help

Give detailed help (print this message). This argument

must be the first.

EXAMPLE

perl merge_vertical001.pl -s 1 # skip a header of one line

perl merge_vertical001.pl -s 0 # does not skip a header

6- processed files are in the “results” directory.

merge_vertical_with_filename_005.pl add the table name at the beginning of each row.

Caution : this software uses the Unix command <cp> it will not work on windows. Avoid spaces in files names to avoid copy errors.