Re: globstar question

2017-05-01 Thread Chet Ramey
On 4/29/17 11:22 PM, L A Walsh wrote: > > > Chet Ramey wrote: >> On 4/28/17 8:09 PM, L A Walsh wrote: >>> ls **Tokyo* >>> (nothing) >>> ls ***Tokyo* >>> (nothing) >>> ls **Tokyo**Tokyo* >>> (nothing) >>> ls **/*Tokyo* >>> (found multiple matches (including the one I was >>> searching for)) >>>

Re: globstar question

2017-04-29 Thread L A Walsh
Chet Ramey wrote: On 4/28/17 8:09 PM, L A Walsh wrote: ls **Tokyo* (nothing) ls ***Tokyo* (nothing) ls **Tokyo**Tokyo* (nothing) ls **/*Tokyo* (found multiple matches (including the one I was searching for)) Because the first two search for files containing the string `Tokyo' in the cur

Re: globstar question

2017-04-28 Thread Chet Ramey
On 4/28/17 8:09 PM, L A Walsh wrote: > > I wanted to search for a file that had 'Tokyo' in the basename, > in all directories below a given point. I had been doing it 'find', > but thought globstar should work. > W/globstar set, I looked for: > > ls **Tokyo* > (nothing) > ls ***Tokyo* > (nothing

globstar question

2017-04-28 Thread L A Walsh
I wanted to search for a file that had 'Tokyo' in the basename, in all directories below a given point. I had been doing it 'find', but thought globstar should work. W/globstar set, I looked for: ls **Tokyo* (nothing) ls ***Tokyo* (nothing) ls **Tokyo**Tokyo* (nothing) ls **/*Tokyo* (found mult