#!/bin/sh # 换行符做分隔符 IFS=$'\n' # 读取文件每一行 for i in `cat $1` do #./gmcmd_game.sh fakepay $i -t $2 #sleep 2 echo "./gmcmd_game.sh fakepay $i -t $2" done