[Xastir] DBFAWK - Doin' it wrong?

km5vy Tom Russo russo at bogodyn.org
Tue Mar 24 09:53:53 PDT 2020


On Tue, Mar 24, 2020 at 09:48:27AM -0700, we recorded a bogon-computron collision of the <curt.we7u at gmail.com> flavor, containing:
> Ah, cool.
> 
> One might also have to search through the map directories if you have
> per-file dbfawks for some maps (I do).

Yes, of course.  But that's just a matter of adding additional directory 
names to the same grep command.

But if you have a per-file dbfawk for the specified file, you already know
what file is being used --- you specified it.  The question before the
committee is "what file other than the one I intended might be getting used
instead?"

> On Tue, Mar 24, 2020 at 9:45 AM km5vy Tom Russo <russo at bogodyn.org> wrote:
> >
> > On Tue, Mar 24, 2020 at 09:41:49AM -0700, we recorded a bogon-computron collision of the <curt.we7u at gmail.com> flavor, containing:
> > > Yea, try it... I didn't see any filenames listed in the output.
> >
> > I didn't say there would be.  But there will be a dbf signature shown, and
> > you use grep to find all the files in the config directory that have that
> > signature.  For example:
> >
> > 8 Columns,  3334 Records in file
> > sig: STATE:CWA:COUNTYNAME:FIPS:TIME_ZONE:FE_AREA:LON:LAT
> > DBF Signatures match!
> >
> >
> > One then does:
> >
> > grep -l 'dbfinfo="STATE:CWA:COUNTYNAME:FIPS:TIME_ZONE:FE_AREA:LON:LAT"' /usr/local/share/xastir/config/*
> >
> > to get the list of file names that contain that signature.
> >
> > > On Tue, Mar 24, 2020 at 9:34 AM km5vy Tom Russo <russo at bogodyn.org> wrote:
> > > >
> > > > On Tue, Mar 24, 2020 at 09:32:02AM -0700, we recorded a bogon-computron collision of the <curt.we7u at gmail.com> flavor, containing:
> > > > > On Tue, Mar 24, 2020 at 9:13 AM Curt Mills <curt.we7u at gmail.com> wrote:
> > > > > >
> > > > > > One could also turn on debug level 16. Might be of use in this case.
> > > > >
> > > > > Could also mess around with testdbfawk, although now that I think
> > > > > about it we should think about modifying testdbfawk.c to print out the
> > > > > name of the dbfawk file that matched the dbf file. Could be quite
> > > > > useful in this case.
> > > > >
> > > > >   cd /usr/local/share/xastir; testdbfawk -D config -d
> > > > > Counties/mz02ap19.dbf 2>&1 | head -10
> > > >
> > > > One could.  Or one could just run the command above and use "grep" to find
> > > > all the files that have the same dbfinfo line.
> > > >
> > > > --
> > > > Tom Russo    KM5VY
> > > > Tijeras, NM
> > > >
> > > >  echo "prpv_a'rfg_cnf_har_cvcr" | sed -e 's/_/ /g' | tr [a-m][n-z] [n-z][a-m]
> > > >
> > >
> > >
> > > --
> > > Curt, WE7U        http://xastir.org        http://www.sarguydigital.com
> >
> > --
> > Tom Russo    KM5VY
> > Tijeras, NM
> >
> >  echo "prpv_a'rfg_cnf_har_cvcr" | sed -e 's/_/ /g' | tr [a-m][n-z] [n-z][a-m]
> >
> 
> 
> -- 
> Curt, WE7U        http://xastir.org        http://www.sarguydigital.com

-- 
Tom Russo    KM5VY
Tijeras, NM  

 echo "prpv_a'rfg_cnf_har_cvcr" | sed -e 's/_/ /g' | tr [a-m][n-z] [n-z][a-m]



More information about the Xastir mailing list