Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的 Zsh 中的代码
#!/bin/zsh q=$1 open "http://mathworld.wolfram.com/$q.html"
我将输入放入应用程序
triangle
我在 Wolfram 遇到了一个错误,因为第一个字母一定很大。
如何更改变量 q 中第一个字母的大小写?
# q=triangle # echo ${(C)q} Triangle
请参阅参数扩展标志。