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

Matthias Andree <[email protected]>
Newsgroups gmane.mail.bogofilter.devel
Message-ID <[email protected]>
David Relson <[email protected]> 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
_______________________________________________
Bogofilter-dev mailing list
[email protected]
http://www.bogofilter.org/mailman/listinfo/bogofilter-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.