[csh] $#argv
[csh] $#argvThe variable $#argv contains the number of arguments passed to the shell:#!/bin/cshecho There are $#argv argumentsecho First argument is $argv[1], second argument is $argv[2]echo All of the arguments are $argv[*]
原创
2020-05-18 09:37:38 ·
3107 阅读 ·
0 评论