$1,$2  分别表示第一个第二个参数

#!bin/sh
ref=$1
trans=$2
echo $ref
echo $trans

 

shell(2):传入参数

 

相关文章:

  • 2022-02-02
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-20
  • 2021-11-08
  • 2022-12-23
  • 2021-12-19
  • 2021-04-18
  • 2021-07-30
相关资源
相似解决方案