ARGV

ARGV
常用释义
ARGV

扩展信息

命令行参数
可从IO、环境变量或命令行参数(ARGV)中获得的字符串(只有环境变量PATH例外) 下列以受污染字符串为参数的操作 Dir.chdir D…
参数列表
...指定的程序,其参数包括文件名(filename)、参数列表(argv)及环境变量(envp).exec函数族当然不止一个,但它们大致相同。
命令行参数排列(Argument Values)
web开发_运维自动化_web架构 - Part 109 ... ARCC 命令行参数个数 ARGV 命令行参数排列 ENVIRON 支持队列中系统环境变 …
命令行参数数组
InitPHP框架 - A PHP Framework - 全局api ... $params 参数 $argv 命令行参数数组 $path 路径,例如 ...
指向命令参数列表
Linux系统调用(八)—进程控制 - Linux编程 ... file 文件名 argv 指向命令参数列表 ...
参数向量
紧挨着栈顶的是在程序执行时设置的记录参数数量的变量(argc),参数向量argv),以及进程环境向量(envp)。在它们 …
变量列表
csh shell编程入门 - 小望 - 博客园 ... % num=10 # 注意空格 argv 变量列表: unset *, 因为它将取消所有的变量) ...

例句

This list is similar to the argv list used in common C programs and defines the application (first element of the array) and argument list.

该列表与普通C程序中的argv列表类似,定义了应用程序(数组第一个元素)和参数列表。

The outer foreach loop iterates over all of the command-line parameters in the @ARGV array looking for a trigger message.

外层foreach循环迭代@ARGV数组中的所有命令行参数,查找触发器消息。

该循环在数组ARGV上迭代,它是在命令行传递给脚本的余下的参数集合。

在我看来,最简单的解决方案是手工解析@ARGV,如下所示。

In particular, argv is an array of arguments to the program, the first argument being the program itself.

特别是,argv是程序的参数数组,第一个参数是程序本身。

在内部,Perl(类似于C)将参数传递给它用@ARGV数组解释的脚本。

The magic of the -i switch is that it replaces each file in @ARGV with the version produced by the script's output on that file.

i开关的神奇之处在于它对@ARGV中的每个文件都用该脚本对该文件输出所产生的文件版本进行替代。

当脚本运行在命令行方式时,argv变量传递给程序C语言样式的命令行参数。

The code in Listing 2 first looks for a parameter passed in the $argv array.

清单2中的代码首先在$argv数组中查找一个传递进来的参数。

为了简单起见,这个脚本只处理第一个额外参数argv[1]。

It simply emits the contents of the argv vector.

它只简单地打印argv向量的内容。

Next, define your argument list, called argv.

下一步,定义参数列表,使argv被调用。

For each file given on the command line (in @ARGV), I get the ID3 tag and create it if necessary.

对命令行(@ARGV中)上给出的每一个文件,我得到ID3标签,如果需要则创建它。

BusyBox then invokes the internal utility as defined by argv[0].

BusyBox然后可以通过argv[0]来调用内部工具。

In this case, you use a range to index the sys. argv list.

在这个示例中,使用range以索引sys.argv列表。

其他则是纯粹的风格惯例(args而非argv;i++而非++i)。

Index 0 of argv is the program name that was invoked from the command line.

argv的索引0是从命令行调用的程序名。

The variable CMD was set to "cat " +sys. argv[2].

变量CMD的值设置为“cat”+sys.argv[2]。

Script 6. pl recognizes UTF-8 data in @ARGV (6_out. txt shows a sample run of 6. pl).

脚本6.pl可以识别@ARGV中的UTF-8数据(6_out.txt显示了一个运行6.pl的样例输出)。

The first argv element (0) is the program name (that is, echo. py).

第一个argv元素(0)是程序名(即echo.py)。