From owner-freebsd-questions Wed Oct 17 4:24:16 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mobil.cz (nat3.mobil.cz [194.213.62.3]) by hub.freebsd.org (Postfix) with ESMTP id B4D7437B40A for ; Wed, 17 Oct 2001 04:24:02 -0700 (PDT) Received: (from roman@localhost) by mobil.cz (8.11.6/8.11.6) id f9HBS7F27000 for freebsd-questions@freebsd.org; Wed, 17 Oct 2001 13:28:07 +0200 (CEST) (envelope-from neuhauser@mobil.cz) X-Authentication-Warning: roman.mobil.cz: roman set sender to neuhauser@mobil.cz using -f Date: Wed, 17 Oct 2001 13:28:07 +0200 From: Roman Neuhauser To: freebsd-questions@freebsd.org Subject: sed question Message-ID: <20011017132807.C16050@roman.mobil.cz> Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi there, can anyone tell me what's wrong with this command? > cat somefile | sed -E '~foobar~d' sed: 1: "~foobar~d": invalid command code ~ sed(1) says: 1. In a context address, any character other than a backslash (``\'') or newline character may be used to delimit the regular expression. TIA To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message