Brian de Alwis wrote:
>> Escaping "-" seems to allows the patterns starting with "-" to be
>> searched.
>
> That's a nifty workaround. I would still recommend adding -e: it's the
> standard mechanism that most Unix savvy non-Pythoners would expect.
>
> BTW: thanks for your work on bzr-grep. It's been far more useful than
> I anticipated.
>
I'm also pretty sure that:
bzr grep -- "-pattern"
Should work just fine. and "--" is the standard "end of option flags"
argument.
I don't really care whether or not it takes '-e'.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Brian de Alwis wrote:
>> Escaping "-" seems to allows the patterns starting with "-" to be
>> searched.
>
> That's a nifty workaround. I would still recommend adding -e: it's the
> standard mechanism that most Unix savvy non-Pythoners would expect.
>
> BTW: thanks for your work on bzr-grep. It's been far more useful than
> I anticipated.
>
I'm also pretty sure that:
bzr grep -- "-pattern"
Should work just fine. and "--" is the standard "end of option flags"
argument.
I don't really care whether or not it takes '-e'.
John enigmail. mozdev. org/
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAkw Pt8QACgkQJdeBCY SNAANvfwCeM7tfl BzNngzS6o3jzsjt PS7X /yCheVx7+ 18BoykSY
39oAn2IaHfdpA9Y
=hgO2
-----END PGP SIGNATURE-----