argv
美
英 
- 網絡命令行參數;參數列表;命令行參數排列(Argument Values)
例句
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數組中的所有命令行參數,查找觸發器消息。
This loop iterates over the array, ARGV, which is the remaining set of arguments passed to the script on the command line.
該循環在數組ARGV上迭代,它是在命令行傳遞給腳本的余下的參數集合。
In my opinion the easiest solution is to parse @ARGV manually as shown in the following listing.
在我看來,最簡單的解決方案是手工解析@ARGV,如下所示。
In particular, argv is an array of arguments to the program, the first argument being the program itself.
特別是,argv是程序的參數數組,第一個參數是程序本身。
Internally, Perl (similar to C) passes arguments to the script it interprets in the @ARGV array.
在內部,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中的每個文件都用該腳本對該文件輸出所產生的文件版本進行替代。
When the script is run on the command line, this gives C-style access to the command line parameters.
當腳本運行在命令行方式時,argv變量傳遞給程序C語言樣式的命令行參數。
The code in Listing 2 first looks for a parameter passed in the $argv array.
清單2中的代碼首先在$argv數組中查找一個傳遞進來的參數。
For brevity, this script processes only the first extra argument, argv[1].
為了簡單起見,這個腳本只處理第一個額外參數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列表。
Others are purely stylistic convention (args, not argv; i++ instead of ++i).
其他則是純粹的風格慣例(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)。
For example, you can access parameters passed to scripts on the command line using the sys. argv variable.
例如,可以使用sys.argv變量在命令行中訪問傳遞給腳本的參數。
Note that in Listing 3, the same requirements exist to set up and make the call (such as initializing the argv and envp arrays).
請注意在清單3中,有著同樣的安裝并調用(例如初始化argv和envp數組)的需求。