Removing dead lines from vector files

Greg Thacker thacker at vinny.cecer.army.mil
Tue Mar 8 12:51:40 EST 1994


Chris,

A simple awk command ran form the command line will do.

First: get into the dig_att directory.

Second: make a copy of this file.  Just incase.

Third: awk = '$1 != "l" {print $0}' < oldfilename > newfilename

Fourth: once you are sure the newfilename is what you want remove the oldfilename
and replace with the newfilename.

Give it a try.  If it don't work give me a call.

Greg Thacker
USACERL TAC



More information about the grass-user mailing list