MacOS curl error: “zsh: no matches found”
source link: https://www.kevinhooke.com/2022/07/19/macos-curl-error-zsh-no-matches-found/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
MacOS curl error: “zsh: no matches found”
I’ve seen this error before with MacOS’s zsh and I can never remember what the issue is:
> curl https://localhost:8080/example?email=test zsh: no matches found: https://localhost:8080/example?email=test
You can get this error with multiple different commands for the same reason. The ‘?’ in the param to curl is interpreted as a substitution wildcard character. To avoid the issue, either escape the ? as \? or just wrap the whole url in double quotes.
CategoriesKev's BlogTagscurl, mac, MacOS, zsh
Leave a Reply Cancel reply
Your email address will not be published. Required fields are marked *
Comment *
Name *
Email *
Website
Save my name, email, and website in this browser for the next time I comment.
Notify me of follow-up comments by email.
Notify me of new posts by email.
This site uses Akismet to reduce spam. Learn how your comment data is processed.
Post navigation
Recommend
-
10
zsh : command not found pip3 的解决方案零一间2020.08.27 17:50:32字数 190阅读 468 在 zsh 中执行 pip xxx
-
18
Mac 下解决 zsh: no matches found: postcss@^7 August 8, 2021 • Read: 57 •
-
1
“zsh: No match found” error zsh attempts to expand any potential filename wildcard characters (such as ‘*’ and ‘?’) used in a command before executing it. This can lead to the confusing error “zsh: No match found” error. Wha...
-
6
Displaying current git branch in MacOS zsh prompt Previous script for setting git branch in bash shell is
-
7
How to configure Zsh syntax highlighting on LinuxZsh syntax highlighting enables highlighting of commands whilst they are typed at a zsh prompt into an interactive terminal. This will help you in reviewing commands before running them, partic...
-
4
Get browsers version number on macOS (zsh) otsukare Thoughts after a day of work I'm not sure why I had not written this before, but...
-
7
@smpnjnJohnny SimpsonProduct, Engineering, Web
-
3
Related thread on HN: https://news.ycombinator.com/item?id=33186412 The Problem macOS ships with Z shell settings that do not find command...
-
6
curl 如何在Ubuntu 20.04 安装Curl Curl是用于在本地计算机与远程服务器之间传输数据的命令行工具
-
8
curl 如何在CentOS 7 安装 Curl Curl是用于在本地计算机与远程服务器之间传输数据的命令行工具 ...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK