in reply to Re^3: In-place file filtering
in thread In-place file filtering

To actually get the list of zip codes costs money, either from the USPS or other sources. However, by repeatedly typing in zip codes into the zip code locator as USPS.com I found out the valid upper and lower bounds.

Carter's compass: I know I'm on the right track when by deleting something, I'm adding functionality

Replies are listed 'Best First'.
Re^5: In-place file filtering
by adrianh (Chancellor) on Jul 25, 2003 at 01:10 UTC

    Don't new codes get added? In other countries valid/invalid codes aren't contiguous sequences. I'd assumed that the lower/upper bounds were part of the spec? If not I'm not sure I'd rely on all the codes outside those bounds being invalid if it were me.