From owner-freebsd-questions Sun May 10 23:47:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA21323 for freebsd-questions-outgoing; Sun, 10 May 1998 23:47:54 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from hermes.iaccess.com.au (hermes.iaccess.com.au [203.5.74.7]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA21307 for ; Sun, 10 May 1998 23:47:30 -0700 (PDT) (envelope-from andrew@iaccess.com.au) Received: from alpine.iaccess (andrew@alpine.iaccess.com.au [203.5.74.227]) by hermes.iaccess.com.au (8.8.5/8.8.5) with SMTP id QAA23771 for ; Mon, 11 May 1998 16:46:51 +1000 (EST) Message-ID: <036c01bd7ca9$257ce020$e34a05cb@alpine.iaccess> From: "Andrew Specht" To: Subject: sed??? Date: Mon, 11 May 1998 16:50:55 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.2106.4 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi I'm trying to figure out how to substitute multiple spaces from a text file with a single space using sed. this didn't work: sed /[" "]+//s//[" "]/ test any ideas? :) Thanks again Andrew Specht | System Administrator E-mail: andrew@iaccess.com.au | Internet Access Australia Internet: http://www.iaccess.com.au | Melbourne, Australia To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message