Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Oct 2006 14:12:22 -0500
From:      Martin McCormick <martin@dc.cis.okstate.edu>
To:        freebsd-questions@freebsd.org
Subject:   Re: A Question of How to Handle Numerical Notation Solved
Message-ID:  <200610061912.k96JCMhW005306@dc.cis.okstate.edu>

Next in thread | Raw E-Mail | Index | Archive | Help
	Those of you who recognised the example string I sent as
a UUID really helped solve this problem.  What happened was that
the algorithm I wrote to parse the CSV values in each record is
broken when it encounters a blank field as in ,, so it fails to
increase the index counter and place a null string at that point.
This meant that what I was reading as field W was actually more
like field Z.  I was actually looking at a field labeled "pkid"
or Packet ID which is the UUID you saw.  The algorithm I wrote to
parse worked perfectly on the first line of the file because
every field was populated but it silently failed on lines of real
data because of blank fields.

Martin McCormick WB5AGZ  Stillwater, OK 
Systems Engineer
OSU Information Technology Department Network Operations Group



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?200610061912.k96JCMhW005306>