In the documentation on wildcards I see this:
- ** matches any string of characters. This includes matching an empty
string. The matched string may include the / character; that is, it
recurses into subdirectories. Note that augmenting this wildcard with other
strings will not match files in the current working directory ($PWD) if
you separate the strings with a slash ("/"). This is unlike other shells
such as zsh. For example, **\/*.fish in zsh will match .fish files in
the PWD but in fish will only match such files in a subdirectory. In fish
you should type ***.fish to match files in the PWD as well as
subdirectories.
But when I am in a directory that contains .fish files and has
subdirectories that also contain .fish files, I get the same result from
"ls **.fish" and "ls ***.fish". Both display matches in the PWD. Is the
documentation wrong?
--
R. Mark Volkmann
Object Computing, Inc.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users