开发者

zsh handling of arguments

开发者 https://www.devze.com 2022-12-18 17:35 出处:网络
In the zsh programming language, how do I get the entire list of arguments as a string in \"\" ? i.e. in

In the zsh programming language,

how do I get the entire list of arguments as a string in "" ?

i.e. in

myzshcommand 1 2 3 foo bar

I 开发者_如何转开发want something to match me "1 2 3 foo bar"

Thanks!


Have you tried using $@?

0

精彩评论

暂无评论...
验证码 换一张
取 消