[Xastir] Search FCC database not working?

Curt, WE7U archer at eskimo.com
Tue Jan 25 20:19:41 EST 2005


On Mon, 24 Jan 2005, Tom Russo wrote:

> There are about 8 entries in the file with "^M^M^J" (that is, two CRs and a
> newline) embedded in the address field.  This is confusing the sort procedure
> and results in a few lines of the sorted data that don't fit the pattern
> the fcc lookup feature requires.  By deleting the broken lines we get the
> thing to work, but we're also getting broken entries for those 8 hams.
>
> A filter to strip out "^M^M^J" before sorting would fix this.  An appropriate
> "sed" incantation might do the trick.  I would expect that this sort of junk
> will only appear more often in the FCC data and we should figure out a way
> to clean it out.

So basically those lines are broken into two no matter what OS
you're running on, correct?  This causes 8 lines to turn into 16,
and none of them are correct lines.

I was initially thinking that a short one-liner Perl script could
work to fix up the line-ends, but in this case the input data file
is just plain broken.  It should be reported to the FCC so that they
can fix their process.

--
Curt, WE7U.   APRS Client Comparisons: 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