I want to re-arrange the data (Header and Detail) in multiple pipe delimited text files, in the order specified in a reference master file and create a single output file, using shell script.
The order of the columns will be different in different input files. Data could be empty for the...