Re: character substitution in $VARIABLE2003-11-07 07:56:08Lukreme wrote: Simple, use sed sed s/\./-/g(eg: users-lists-freeswan-org) preferably without using sed. tr '.' '-'The tr executable is about 60% the size of the sed executable, whether tr is quicker or requires less memory space I don't know. _______________________________________________ procmail mailing list procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
|
|