gpt4 book ai didi

linux - bash 脚本中的语法错误 `("意外

转载 作者:行者123 更新时间:2023-12-05 03:50:48 30 4
gpt4 key购买 nike

<分区>

我正在编写一个简单的 bash 脚本,我在 XX `(' unexpected我的代码:

function myfun(){
echo XXXX
echo YYYY
read choice
}

choice=$(myfun)

哪里出错了。我使用了 ShellCheck,没有检测到任何错误。

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com