shell(2):传入参数

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

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

 

 

posted on 2017-06-16 15:34  细雨微光  阅读(402)  评论(0编辑  收藏  举报