#Shell函数返回多个值
test(){
echo 100 #返回100
echo 200 #返回200
}
a=$(test) #则得到a="100 200"

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-19
  • 2022-02-22
  • 2022-03-05
  • 2021-06-13
  • 2022-12-23
猜你喜欢
  • 2021-09-15
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-28
相关资源
相似解决方案