On Wed, Jul 10, 2002 at 10:56:42PM +1200, Bjorn Nilsen wrote: > this should work as well: > > CYRUSUSER=` /bin/echo "$CYRUSUSER" | /usr/bin/tr A-Z a-z`
Just a point of behaviour on the tr line ... using classes (i.e. [:lower:] and [:upper:]) on the tr line is a more portable behaviour for your data in general, as it will understand the current charset environment, even if it is Unicode ... However in the real-world application of email, this is unlikely to be a problem. And you're more likely to get stuck having to quote/escape it as well :-) -jim
