From owner-freebsd-hackers Sat Feb 18 05:50:18 1995 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id FAA17114 for hackers-outgoing; Sat, 18 Feb 1995 05:50:18 -0800 Received: from UUCP-GW.CC.UH.EDU (root@UUCP-GW.CC.UH.EDU [129.7.1.11]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id FAA17099 for ; Sat, 18 Feb 1995 05:50:03 -0800 Received: from Taronga.COM by UUCP-GW.CC.UH.EDU with UUCP id AA27067 (5.67a/IDA-1.5); Sat, 18 Feb 1995 07:33:38 -0600 Received: by bonkers.taronga.com (smail2.5p) id AA17021; 18 Feb 95 06:46:20 CST (Sat) Received: from localhost (localhost [127.0.0.1]) by bonkers.taronga.com (8.6.8/8.6.6) with SMTP id GAA17017; Sat, 18 Feb 1995 06:46:19 -0600 Message-Id: <199502181246.GAA17017@bonkers.taronga.com> X-Authentication-Warning: bonkers.taronga.com: Host localhost didn't use HELO protocol To: John Utz Cc: FreeBSD hackerlist Subject: Re: Is something amiss in sed on 2.0 -R ? In-Reply-To: Your message of "Sat, 18 Feb 95 01:22:11 PST." X-Mailer: exmh version 1.4.1 7/21/94 Date: Sat, 18 Feb 1995 06:46:17 -0600 From: Peter da Silva Sender: hackers-owner@FreeBSD.org Precedence: bulk > cat xxfoo | sed -e s/$/\\/ > xxfoo.c > sed: 1: "s/$/\/": unterminated substitute in regular expression Look like you're suffering from quoting hell. Try adding more backslashes or quote the expression so the shell quits breaking things for you.