yep..you need some sanity code, to make sure you have the right number of fields on each line, before trying to process them. pipe char is very useful as a separator in text files, as it usually doesn't conflict with anything, so no need for quoting values etc.
the hardest line to type correctly is: stty erase ^H
| [reply] |