From owner-freebsd-questions Tue Dec 29 18:00:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA14231 for freebsd-questions-outgoing; Tue, 29 Dec 1998 18:00:21 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from orbit.flnet.com (orbit.flnet.com [205.240.232.32]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA14223 for ; Tue, 29 Dec 1998 18:00:16 -0800 (PST) (envelope-from henrich@orbit.flnet.com) Received: (from henrich@localhost) by orbit.flnet.com (8.8.5/8.8.4) id UAA25783; Tue, 29 Dec 1998 20:59:52 -0500 (EST) Message-ID: <19981229175952.44230@orbit.flnet.com> Date: Tue, 29 Dec 1998 17:59:52 -0800 From: Charles Henrich To: freebsd-questions@FreeBSD.ORG Subject: Sed sillyness (stupid question?) Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89i X-Operating-System: FreeBSD 2.2-BETA_A X-PGP-Fingerprint: 1024/F7 FD C7 3A F5 6A 23 BF 76 C4 B8 C9 6E 41 A4 4F Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Why doesnt this work: sed 's,test,te\nst,' That is when test is found how come sed doesnt actually print the newline character? The man page claims it should: A line can be split by substituting a newline character into it. To specify a newline character in the replacement string, precede it with a backslash. What obviousness am I missing here, anyone? Thanks! -Crh Charles Henrich Manex Visual Effects henrich@flnet.com http://orbit.flnet.com/~henrich To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message