标签:
#! /bin/sh echo $0 echo $1 echo $@ echo $#
andy$./test.sh 1 2 3 4 ./test.sh 1 1 2 3 4 4
print(select(‘#‘, ...)) print(select(2, ...)) local arg = select(2, ...) print("arg=" .. arg) andy$ lua test.lua 1 2 3 3 2 3 arg=2
标签:
原文地址:http://www.cnblogs.com/awiki/p/5965368.html