You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PS> touch ab.txt 'a b.txt'# Question mark character works
PS> find -name 'a?.txt'
ab.txt
PS> find -name 'a??.txt'
a b.txt
# Asterisk appears to be being expanded into file names
PS> find -name 'a*b.txt'/usr/bin/find: paths must precede expression: ab.txt
Usage: /usr/bin/find [-H] [-L] [-P] [-Olevel] [-Dhelp|tree|search|stat|rates|opt|exec|time] [path...] [expression]
# Escaping asterisk doesn't work
PS> find -name 'a`*b.txt'# No output, which indicates the parameters were accepted, but the search produced no results.
Steps to reproduce
Expected behavior
Actual behavior
It appears that the command is being converted into: find -name 'a b.txt' 'ab.txt'
Environment data