PATCH: bad sed expression

David Relson relson at osagesoftware.com
Sun Jan 5 17:09:41 CET 2003


At 10:57 AM 1/5/03, Clint Adams wrote:

> >         NAME="./`basename $0 | sed s@\./t\.@@`"
>
>Well, basename $0 will return t.grftest, so the sed won't match, and
>you'll have NAME equal to ./t.grftest.  If that's acceptable then the
>sed is completely unnecessary.  Otherwise, if you want ./grftest, then
>change it to sed s@^t\.@@

You are correct.  I did the famous shell trick - changed t.frame in my 
"cvs" and ran t.grftest from my "tst".  Please try what I meant to do :-)





More information about the bogofilter-dev mailing list