SED is a UNIX text tool. From this [http://unxutils.sourceforge.net/ GNU Utilities site], download Unxutils.zip and unzip sed.exe from it.

SED uses a script file and works in DOS mode.

Example of using SED with a script file called dsheet.sed to shorten a .dat file called va059.dat downloaded from the NGS:

will use a script file called dsheet.sed to change the file va059.dat to a shortened version called fairfax.txt

Here is the contents of the script file dsheet.sed made to work on ["NGS"] ["datasheet"]s and this version of the SED program:

/^1/d
/^DATABASE/d
/^  /d
/^ ....../s///
/^  DESIGNATION/s/^  /*/
/^  PID/s/^  /*/
/^  STATE/s/^  /*/
/^  USGS/s/^  /*/
/^       /s/^  /*      /
/MONUMENTED/s/HISTORY/XISTORY/
/^  HISTORY/d
/XISTORY/s//HISTORY/
/^  HISTORY     - /s//*  MONUMENTATION: /
/    MONUMENTED      /s//by/
/^  /d
/^\;/d
/^\!/d
/^\:/d
/^\./d
/STABILITY:/d
/SATELLITE:/d
/SUPERSEDED SURVEY CONTROL/d
/NATIONAL GRID SPATIAL ADDRESS/d
/^|/s// |/
/SP_SET/s//SPECIAL SETTING/
/^$/d
/^./s///

Copy the contents of this box into a text file called dsheet.sed