excellent post, thank you! I did write a Perl script after all, but I suspect that your way is much faster!
Thanks to all that offered their advice, much appreciated :)
Comment on Re^4: Split tab-separated file into separate files, based on column name (open on demand)