Re: [Hampshire] On-line Banking (Not entirely O.T.)

Top Page

Reply to this message
Author: Vic
Date:  
To: hampshire
Subject: Re: [Hampshire] On-line Banking (Not entirely O.T.)

> cat >flip_csv.py <<END
>
> import sys
> lines = sys.stdin.readlines()
> lines.reverse()
> for l in lines:
>      sys.stdout.write(l)

>
> END
> python flip_csv.py <input.csv >output.csv



perl -e 'print reverse <>' <input.csv >output.csv

Vic.