procmail
[Top] [All Lists]

Re: Removing multiple spaces from Subject lines

2001-04-04 10:23:16
Timothy J. Luoma writes:

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"

 Blah.

  sed 's/[      ][      ]/ /g'

 The square brackets include a space and a tab each.

_______________________________________________
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>