[Xastir] split_gnis script

Jack Twilley jmt at twilley.org
Mon Mar 15 19:24:06 EST 2004


WARNING: Unsanitized content follows.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>>>>> "Curt" == Curt Mills <archer at eskimo.com> writes:

[... split_gnis.bash script ...]

Curt> Thanks.  I added it to the scripts directory.  Most appreciated!

Curt> Until now I've been manually splitting files into smaller ones
Curt> using grep.  I find it VERY useful to have the GNIS files broken
Curt> up by county this way.

Curt> Extra credit for someone: Rewrite that script in Perl5 so that
Curt> it runs on more types of systems/more types of shells, and does
Curt> the dos2unix portion in Perl instead of relying on external
Curt> programs.  Then it should work under KSH/CSH/BASH, on FreeBSD,
Curt> Solaris, Windows, Linux, MacOSX.

I accept your challenge.  If either of you folks could send me links
to some input files and output files, I'll port the script.

Curt> Right now it should be easy to get it working on any of those by
Curt> tweaking the "fromdos" line and making sure you're running it
Curt> under Bash.  We certainly have some users who would have trouble
Curt> modifying a script to suit their system though.  Everbody has to
Curt> start somewhere...

Curt> Thanks for helping to improve Xastir!  This is a BIG improvement
Curt> in speed.

Jack.
- -- 
Jack Twilley
jmt at twilley dot org
http colon slash slash www dot twilley dot org slash tilde jmt slash
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAVkkrGPFSfAB/ezgRAmmvAKDF/UPRgn1AWe3zFxwopND+K+uqewCcCrwe
QdiMZwE65I/GcOCxnSRK2F8=
=h7qy
-----END PGP SIGNATURE-----



More information about the Xastir mailing list