http://qs321.pair.com?node_id=180495


in reply to Manipulating Output

Abigail-II has the correct perl solution. However, if all you are doing is writing a very small perl program for that purpose alone, there's no need to re-invent the wheel.

cut -f 2 -d ':' data_file > output_file