From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sartre.minerva.bah.com ([156.80.175.13]) by hawkwind.utcs.utoronto.ca with SMTP id <24198>; Mon, 26 Jun 1995 10:42:04 -0400 Received: by sartre.minerva.bah.com (NX5.67d/NX3.0M) id AA05666; Mon, 26 Jun 95 10:37:36 -0400 Date: Mon, 26 Jun 1995 10:37:36 -0400 From: goon Message-Id: <9506261437.AA05666@sartre.minerva.bah.com> To: Subject: s cmd lossage Apparently-To: sam-fans@hawkwind.utcs.toronto.edu this s command lost with the latest (straight from at&t) version of sam. s:(([A-Z][a-z]*[ ]?)+)[ ]+([0-9]+):NAME \1\nPHONE 205 \2\n:g ^- space tab what happened was that \2 was set to \1. i rewrote the command without the nested parens (i really hadn't expected the command to work), and things were Happy. the working rewritten command is s:([A-Za-z ]+)[ ]+([0-9]+):NAME \1\nPHONE 205 \2\n:g