procmail
[Top] [All Lists]

Re: Removing multiple spaces from Subject lines

2001-04-04 10:43:20

 Argh ...

try this

    sed "s/  */ /g"

 Blah.

  sed 's/[    ][      ]/ /g'
 
 The square brackets include a space and a tab each.

 And of course, I got it wrong ...

  sed 's/[      ][      ]*/ /g'
                         ^

 This sed expression is equivalent to procmail's "[     ]+": match
 one or more of the preceding group.

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