I have created a bug to track this: https://issues.apache.org/jira/browse/SOLR-63
I will attach a patch to the bug shortly. Bill On 11/1/06, Yu-Hui Jin <[EMAIL PROTECTED]> wrote:
Yap, Bill. The backslash-escaping one works for my zsh as well. And I'm sure you checked it's working for other major shells. So I would say backslash seems to be a good solution since you don't have to worry about double-single quotes. Thanks! regards, -Hui On 11/1/06, Bill Au <[EMAIL PROTECTED]> wrote: > > I did some testing and blackslash-escaping also works: > > find /home/yjin/apps/solr-nightly/example/solr/data/ -name snapshot.\* > -print > > Hui, can you verify that? > > I am already using single quote in the snappuller script to specify the > find > command > to as an argument to ssh. I could change that to double quote and then > use > single quote for snapshot.*, or blackslash escape the *. > > I am fine with either way. Does anyone has any strong preference? > If not, I will just randomly choose one. > > Bill > > On 10/31/06, Mike Klaas <[EMAIL PROTECTED]> wrote: > > > > On 10/31/06, Chris Hostetter <[EMAIL PROTECTED]> wrote: > > > > > Bill: what do you think about explicitly putting in the single quotes > as > > > Hui suggested? that should still work under bash and sh right? > > > > That should work in bash, at least. Backslash-escaping is also an > option. > > > > The semantics of file globbing in bash are irritating. > > > > -Mike > > > > -- Regards, -Hui