shell(2):传入参数

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

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

原文地址:https://www.cnblogs.com/lovychen/p/7027801.html