This loop iterates over the array, ARGV, which is the remaining set of arguments passed to the script on the command line.
该循环在数组 ARGV 上迭代,它是在命令行传递给脚本的余下的参数集合。
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 列表类似,定义了应用程序(数组第一个元素)和参数列表。
In particular, argv is an array of arguments to the program, the first argument being the program itself.
特别是,argv是程序的参数数组,第一个参数是程序本身。
ArgV You can think of this variable Arg V as literally an array a sequence of chunks of memory that literally are back to back to back in memory, and when you say bracket zero, by convention, you are referring to the variables stored here.
你可以想象这个变量,按顺序排列的一块块内存,依次地在内存中紧邻着的,当你指明,按照惯例,涉及,存储的变量在这里。
应用推荐