Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 May 1998 16:50:55 +1000
From:      "Andrew Specht" <andrew@iaccess.com.au>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   sed???
Message-ID:  <036c01bd7ca9$257ce020$e34a05cb@alpine.iaccess>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?036c01bd7ca9$257ce020$e34a05cb>