Re: Truncating STILL not working1996-05-29 22:09:34Hey Guy, I tried THIS variation of the recipe, and it's still a no go...
FROM_ADDRESS=`formail -rxTo:`
:0hw
* ^Subject: coc subscribe \/.*$
{
NAME="$MATCH"
NAME=`echo "$NAME" | sed -e 's/^.\{1,25\}(.*)$//'`
}
Never mind that this won't do anything if $NAME is blank, it won't even
truncate the $NAME variable and I don't know why? is your sed syntax ok?
|
|
||||||||||||||||