test.sh:
pipe="|"
eval ls $pipe wc -l


输出
bogon:Desktop macname$ ./test.sh
45


test.sh:
eval echo \$$#


输出
bogon:Desktop macname$ ./test.sh ssd dede ded dedeeeee iiii
iiii

 

参考:
https://blog.csdn.net/luliuliu1234/article/details/80994391

 

相关文章:

  • 2021-10-02
  • 2022-12-23
  • 2022-12-23
  • 2021-08-02
  • 2021-05-28
  • 2021-09-29
  • 2021-07-30
  • 2021-07-05
猜你喜欢
  • 2021-05-18
  • 2022-12-23
  • 2021-06-11
  • 2022-01-04
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案