[Numpy-discussion] genfromtext advice

Tim Michelsen timmichelsen@gmx-topmail...
Tue Sep 1 07:54:15 CDT 2009


> $ awk -F '|' '{if(NF != 12) print NR;}' /tmp/pp.txt
> and besides the first 23 lines and the last 3 lines of the file,
> also the following have a number of '|' different from 11:
> 1635
> 2851
> 5538
> i.e. BIKIN, BENGUERIR and TERESINA AIRPORT.
Looks lika some bash magic.

I will try to translate this into as python script...





More information about the NumPy-Discussion mailing list