in reply to nmr comparison script

It would be easier to help you if you gave us a bit more detail -- how does it fail for the second example?

As for long scripts, you could either post it (between <code> tags, please) after a <readmore> tag, or put it in your public scratchpad -- that way even people who don't want to give you their email addresses can try to help.

Edit: Much better, thanks.

--
F o x t r o t U n i f o r m
Found a typo in this node? /msg me
% man 3 strfry