procmail
[Top] [All Lists]

RE: [PROCMAIL] RE: Removing multiple spaces from Subject lines was Re: long mailing-list names in Subject line

2001-04-04 10:25:54
On Wed, 4 Apr 2001, Timothy J. Luoma <tjlists(_at_)bigfoot(_dot_)com> wrote:

When I use sed with 's/ */ /g' what I ended up with was

Subject:  R e :  s p e l l i n g  d i a g o n a l  a n g l e

Not at all what I wanted! :-( 


OOps... that's what I get for typing faster than thinking (or testing)

try this

      sed "s/  */ /g"

It was better, in that there were no spaces inbetween the letters. It
still does not remove multiple spaces within the subject.

So "diagnonal  angles" isn't forced to "diagnonal angles" as it should be.

Regards, Trevor

British Sign Language is not inarticulate handwaving; it's a living language.
Support the campaign for formal recognition by the British government now!

-- 

<>< Re: deemed!

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>