For instance, the -f switch commonly used to tell a program to read a configuration file complicates the configuration because the file may override or supplement options given on the command line.
例如,- f开关通常用于告诉程序读取一个配置文件,这将因为该文件可能覆盖或者补充命令行上给出的选项而使处理变复杂。
We need to modify the program to print a default message instead of crashing if all parameters are not included on the command line.
我们需要修改程序使其在命令行中未包含所有参数时打印默认消息而不是崩溃。
After reaching the end of a line, you start at the beginning (or left-hand side) of the next line, and so on down the page — or, in this case, the program.
当达到行尾后,又是下一行的开始(或者叫做左端),依此类推,沿着页面(这里是指程序)往下走。
Listing 1 demonstrates this technique with a simple program to print the encodings of all URLs given on the command line.
清单1通过一个简单的程序说明该技术,输出命令行中给定的所有url的编码。
Sometimes, however, it's desirable to place multiple program statements on a single line -- when you're initializing variables, for example.
然而,有时候需要在一行放多个程序语句,例如初始化变量时。
Finally, Listing 7 shows the main function of the program, which just calls the process_directory function for every argument passed on the command line.
最后,清单7显示了该程序的main函数,它只是对命令行中传递的每个参数调用了process_directory函数。
A short Perl program, often typed directly on the command line, can sometimes do more than the equivalent tr or sed command line.
通常可以在命令行中直接输入简短的Perl程序,有时它可以完成比tr或sed命令行更多的操作。
It's just hard to keep track of them at first but they all generally mean the same thing, provide additional input to this program called GCC by just specifying it on the command line.
刚开始是很难理解这些词的,但其实都是一个意思,所以,只要在命令行上为这个程序,再添加一个名曰GCC的输入就OK啦。
The -e option lets you specify a Perl expression (a program, actually) on the command line.
e选项允许您在命令行中指定一个Perl表达式(实际上是一个程序)。
The perl -n command runs the program once on every line of the input file.
perl -n命令针对输入文件的每一行运行一次程序。
Download and compile the ListUrls program, and run it by passing in a URL on the command line (see the Download section for a link to this article's full source code).
下载并编译ListUrls程序,通过在命令行传入一个URL来运行该程序(要获取本文的完整源代码,请参阅下载部分的链接)。
To see what's going on in main() we can set a breakpoint at a particular line or on a function in the program code so gdb will interrupt execution when it is reached.
为了查看在main()中发生了什么情况,可以在程序代码中的某一特定行或函数中设置断点,这样gdb会在遇到断点时中断执行。
Listing 11 shows the output of this program (with some data thrown in on the command line for demonstration purposes).
清单11显示了这个程序的输出(在命令行上输出了一些用来演示的数据)。
Trace is turned on by specifying any command line parameter to the program when it is invoked.
在调用这个程序时指定任意命令行参数将开启跟踪功能。
Part 1 of this series focused on capturing program interaction, while Part 2 focused on image capture using command-line applications.
本系列的第1部分主要讨论捕获程序交互,第2部分主要讨论使用命令行应用程序捕获图像。
If the program is executable, you should see an error telling you that a TMC2 message is required to be passed on the command line.
如果程序可执行,您应该会看到一个错误,告知您需要在命令行上传递一条TMC2消息。
The module will check an XML document on STDIN if run from the command line without even bothering to import it into your program.
如果从命令行运行,则该模块将在STDIN上检查XML文档,甚至不用将它导入程序。
When you run the program, be sure to pass the name of a PNG image file on the command line.
运行该程序时,请确保在命令行上输入了png图像文件的名称。
Also, if you double-click on the error message, the COBOL program that is located in the mainframe is edited and an indication of the line in error will be shown (Figure 4).
另外,如果双击错误消息,则可编辑位于大型机中的COBOL程序并显示错误行(图4)。
Historically, these were defined by macros which built a Program Control Table (PCT), but are nowadays defined in TRANSACTION definitions within the resource definition on-line (RDO) database.
从历史上看,通过宏命令来定义事务id,这些宏命令创建程序控制表(Program Control Table,PCT),但是目前是在在线资源定义数据库(resourcedefinition on - line,RDO)内部的TRANSACTION定义中定义事务id。
When the user is typing a command on the command line-that is, the shell he or she is using-the user only sees stdin, or standard in-that is, input that the user or a program provides.
当用户在命令行(即用户正在使用的shell)中键入命令时,用户只能看到stdin(即标准输入),这是用户或程序提供的输入。
If I were on a system where -lsun ought to provide getpwnam , I'd have been able to look at the exact command line used to check for it, and the test program used.
如果我的系统中,-lsun应该提供getpwnam,我应该可以使用命令行来对其进行确切检查,然后再使用测试程序。
Because CGI is so flexible, almost any program that can run on a Web server and accept command-line data can be used with CGI.
由于cgi非常灵活,几乎所有能在网站服务器上运行和能接受命令行数据的程序都能与cgi一起用。
Working on the command line is convenient for program development and testing, because you can type programs and execute them immediately.
使用命令行模式对于程序的开发和测试都是十分方便的,因为你可以输入程序,然后立刻执行它们。
Facing record auto industry losses and with thousands of jobs on the line, Britain has launched a new car incentive program aimed at spurring sales.
面对着汽车行业有史以来最大的损失,以及数千人可能失业的危险,英国出台新的汽车刺激计划,旨在刺激销量。
Now, I must hold the line on this program. I have no more time left today.
现在,我要保持节目稳定,因为我今天的节目时间快到了。
Instead of relying on the -m option to determine what needs to be updated, you can tell command-line compiler to update all units upon which your program depends using the -b option.
用于取代要知道哪些单元需要更新-M的选项,你可以使用- B选项来更新所有你的程序中关联的单元。
The following exercise program is introductory only, and progression of this program will vary based on your specific injury, symptoms, and base line level of fitness.
接下来所叙述的锻炼项目都只是介绍性的,康复锻炼项目的进度应根据患者自身的受伤程度、症状和健康基础水平而变化的。
Real Programmers don't write in APL, unless the whole program can be written on one line.
真正的程序员不用apl,除非整个程序可以用一行写完。
Real Programmers don't write in APL, unless the whole program can be written on one line.
真正的程序员不用apl,除非整个程序可以用一行写完。
应用推荐