[cvs] bogofilter/src bf_compact,1.19,1.20 bf_copy,1.15,1.16

Matthias Andree matthias.andree at gmx.de
Sun May 8 17:30:36 CEST 2005


David Relson <relson at users.sourceforge.net> writes:

> Update of /cvsroot/bogofilter/bogofilter/src
> In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31282
>
> Modified Files:
> 	bf_compact bf_copy 
> Log Message:
> Escape square brackets to shell doesn't interpret them.
>
> Index: bf_compact
> ===================================================================
> RCS file: /cvsroot/bogofilter/bogofilter/src/bf_compact,v
> retrieving revision 1.19
> retrieving revision 1.20
> diff -u -d -r1.19 -r1.20
> --- bf_compact	7 May 2005 14:16:46 -0000	1.19
> +++ bf_compact	8 May 2005 02:22:13 -0000	1.20
> @@ -11,7 +11,7 @@
>  set -e # die on errors
>  
>  if [ -z "$1" ] ; then
> -    echo usage: bf_compact source_dir [wordlist_name...]
> +    echo usage: bf_compact source_dir \[wordlist_name...\]

Use

    echo 'usage: bf_compact source_dir [wordlist_name...]'

instead - that's much easier and even works with bangs (!).

-- 
Matthias Andree



More information about the bogofilter-dev mailing list