Thank you so much Silas for your detailed and informative response. I have settled on accepting your second solution x/$^/!# for the time being. It gives me just the result I need. I use the commented lines mostly as a mnemonic device to recall the meaning of complex commands.  ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T10b1d559ae7d981e-M95f7688f18e84b201bee87fb Delivery options: https://9fans.topicbox.com/groups/9fans/subscription