peter_brickles
August 15th, 2014, 03:40 PM
I have a list of longitudes in the following format
53.961224
53.964072
53.96492
53.96392
53.96347
in a text file but I need to make then just four digits after the decimal point
53.9612
53.9640
53.9649
53.9639
53.9634
does any one know of a one liner sed perl awk ? To accomplish this or any other ways without going through the 10k or so lines by hand ?
Any help would be gratefully appreciated
Pete
53.961224
53.964072
53.96492
53.96392
53.96347
in a text file but I need to make then just four digits after the decimal point
53.9612
53.9640
53.9649
53.9639
53.9634
does any one know of a one liner sed perl awk ? To accomplish this or any other ways without going through the 10k or so lines by hand ?
Any help would be gratefully appreciated
Pete