On 1/27/07, Steve Kowalik <[EMAIL PROTECTED]> wrote:

>
Just to throw my 2 cents in, tr(1) can do this.

tr -s ' ' < oldfile > newfile


This would nuke *all* of the spaces in the document. Luke clarifed in
a follow-up post that it was only whitespace butting up against quotes
that needed to be removed. Unfortunately tr doesn't deal with context
whereas sed (and perl/python) can.

--
Regards, Martin

Martin Visser
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to