[Xastir] Script to split GNIS datafiles

Curt, WE7U archer at eskimo.com
Mon Mar 15 14:19:03 EST 2004


On Sun, 14 Mar 2004 spqr at kc9asi.cjb.net wrote:

> This little script attempts to intelligently split the file into smaller
> chunks, vaguely on a county by county basis.
>
> While it's at it, it will remove the trailing whitespace.
>
> Note that "fromdos" may not be a standardly installed utility, but it is
> used by this script.  It always seems to be on my Slackware systems.
> (Part of the slackware "bin" package).

A more standard name for such utilities is dos2unix and unix2dos.


> Hopefully, this attachment comes through the mailserver.
>
> This is a trivial file, and hopefully it (or something like it) will get
> added to the scripts directory of the xastir package.

Didn't come through.  Send direct to me with an appropriate
copyright on it, and I'll add it to the scripts directory.  I might
tweak it a bit to make it work on more systems though.

--
Curt, WE7U			    archer at eskimo dot com
Arlington, WA, USA		http://www.eskimo.com/~archer
"Lotto:    A tax on people who are bad at math." -- unknown
"Windows:  Microsoft's tax on computer illiterates." -- WE7U
"The world DOES revolve around me:  I picked the coordinate system!"



More information about the Xastir mailing list