[cvs] bogofilter/src msg-count.sh,1.2,1.3

David Relson relson at osagesoftware.com
Thu Dec 4 00:48:20 CET 2003


On Wed, 03 Dec 2003 23:55:36 +0100
Matthias Andree <matthias.andree at gmx.de> wrote:

> relson at users.sourceforge.net writes:
> 
> > --- msg-count.sh	3 Dec 2003 16:32:20 -0000	1.2
> > +++ msg-count.sh	3 Dec 2003 16:34:25 -0000	1.3
> > @@ -5,7 +5,9 @@
> >  #	performs lexical analysis and database lookup
> >  #	and converts an email to the msg-count format
> >  #
> > -if [ "x$1" = "x-?" ] || [ "x$1" = "x-h" ]; then
> > +# $Id$ 
> > +
> > +if [ "$1" = "-?" ] || [ "$1" = "-h" ]; then
> 
> Why this change? The x prefix is to defeat options that some random
> test or [ command might parse.

Given the quotes, the x isn't needed.  Are there portability issues?




More information about the bogofilter-dev mailing list