procmail
[Top] [All Lists]

Re: Truncating STILL not working

1996-05-29 22:09:34
Hey 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?


<Prev in Thread] Current Thread [Next in Thread>