Vinh Nguyen
December 17, 2013
Reordering/re-arranging columns in a delimited file could be easily attained using awk:
cat myfile.txt | awk 'BEGIN{FS="," OFS="|";} {print $1,$2,$4,$5,$6;}' > out.txt