| Bash triggers on this:
| case "/foo" in
| [/\]* ) echo 1;;
| esac
| How are zsh and friends dealing with that?
The way it should :)
% case "/foo" in
case> [/\]* ) echo 1;;
case> esac
zsh: bad pattern: [/]*
although the quotation of the guilty pattern gives a wrong idea of the
problem:
% case "/foo" in
[/]* ) echo 1;;
esac
1
Akim
- [50 character or so descriptive subject here (for reference)... DEMAILLE Akim
- Re: fnmatch fails with [...\\\\] Akim Demaille
- Re: fnmatch fails with [...\\\\] Lars J. Aas
- Re: fnmatch fails with [...\\\\] Lars J. Aas
- Akim Demaille
