Jay Soffian wrote:
perl -ne 'BEGIN{$"=undef}push(@hold, $_) if /^NOTE/../^X-Palm/; print unless @hold; if (/^X-Palm/) {pop @hold; print "$_@hold"; @hold=()}'
(not TextMate related ... sorry) I'm somewhat familiar with perl, but I've never seen 'if /^NOTE/../^X-Palm/' before. Where can I find it in the docs?
Roger -- roger-roelofs@gmail.com