#! /bin/sh awk ' { f1 = $0 getline f2 = $0 getline f3 = $0 print f1 "|" f2 "|" f3 "|" } ' telstra_charging_precincts.unl