fce53ea99b
Remove the temp directory in trap. Replace the buggy awk script with a correct perl script. Don't make a copy of the input data anymore if the input is already sorted (option -presort). This scheme avoid large temporary files in /tmp.