All versions of the merge script are very simple, with little error handling

On Unix platforms, merge.pl or merge.sh will need to be made executable (chmod 755)
The script and the DTA files to be merged are placed in the same directory
The script is executed without arguments
The original files are not altered
In the case of merge.bat and merge.sh, the output is a multi-DTA format file called merge.txt
In the case of merge.pl, the output is Mascot Generic Format (MGF) file called merge.mgf

merge.pl is preferred over merge.bat or merge.sh because:
- it retains the original filenames as spectrum titles
- it can also be used to merge Micromass PKL files