[NTLUG:Discuss] YA script question.

Rev. wRy slot0k at pogox.org
Tue Aug 13 21:05:43 CDT 2002


On Tue, 2002-08-13 at 20:03, Victor Brilon wrote:

> 2) Your fields aren't consistent. How do you handle blank fields? I.E., 
> in the first example the street is the last field on line 1. In the 
> second example, it's the Suite number. How is the program to 
> automagically detect that? Are there blank filed holders indicated via 
> commas?

Yeah, I noticed that too.  I ended up just deciding to give an extra
comma, then chomping out the ones I didn't want.  I replied privately as
to avoid the usual "There's a better way to do it!" replies where I look
like a dork. :)

The actual data file (at least some of it) would be helpful.
 
> Victor

Ry
(was working on a sed/awk solution instead of perl before I got all
busy)




More information about the Discuss mailing list