# head -n1 weather.txt | sed -e 's/\t/\n/g' -e 's/\r//' | nl | expand 1 Current Date 2 Time Stamp 3 Air Press 4 Dew Point 5 R-Humidity 6 Wind Sp 30m 7 Wind Dir 30m 8 Wind Sp 10m 9 Wind Dir 10m 10 Temp (2m) 11 Temp (5m) 12 Temp (10m) 13 Temp (15m) 14 Temp (20m) 15 Temp (25m) 16 Temp (30m) 17 Rain Det