Use your one-liner skills sparingly.
请省着点使用一行程序技能。
Printing the contents of % ENV with a one-liner.
用一行代码打印%ENV内容。
Although it's simple, the disadvantage of this one-liner is that it creates a new file.
虽然这个单命令行程序非常简单,但是它的缺点在于创建了一个新文件。
When used on E-mail messages or Usenet articles, the preceding one-liner strips out all headers.
当在电子邮件消息或usenet文章中使用时,前述单命令行程序将除去所有标头。
Thus, we come to our first one-liner, intended to add two columns in the text input to the script.
因此,我们来查看第一个一行程序,它旨在将文本输入中的两列添加到脚本中。
These can be user stories as used by Extreme Programming or simply one-liner feature descriptions.
列表中的内容可以是类似在极限编程中使用的用户故事,或者就是一行行简单的功能说明。
Editing files, for instance, can be a simple one-liner if you want to replace one word with another.
例如,如果想用另一个词替换某个词,编辑文件可以是简单的一行程序。
"The one-liner, he says, was" invented, or at any rate brought to the forefront, by Benjamin Franklin.
他认为单行短笑话是“由本杰明·富兰克林所创造,或者说是由他推向大众。”
A wink and a one-liner instantly changed the dinner from a red-faced embarrassment to a conspiracy of fun.
使一下眼色,讲一句笑话立刻改变了宴会的气氛,原先大家红脸相对、窘态百出,一下子变得活泼有趣起来。
That's why in Listing 1 we could say -e'print Dumper \@ARGV' and Perl saw it as a single one-liner script.
这就是为什么在清单1 中我们可以写成 -e'printDumper \@ARGV' 并且Perl 可以将其看成单个一行程序脚本的原因。
Instead of fixing indexpage.pl myself (a fine exercise, but one I had no time for at 2 AM), I used a one-liner.
我使用了一个一行程序,而不是自己动手修正indexpage . pl(这是个很好的练习,但是像我这样的人在凌晨两点是没空的)。
It is interesting as an exercise, but in practice the one-liner would become 20-30 lines of unnecessary code.
作为练习这会很有趣,但是实际上一行程序可能会变成20 - 30行不必要的代码。
Consider the following one-liner to build Web-page thumbnails for each domain mentioned in the top10Links file.
考虑使用如下一行代码为top10Links文件包含的域构建web页面缩略图。
You should never run a one-liner outright; always print out what it will do before you actually run the command.
您永远不应立即运行一行程序;在您真正运行命令之前应该总是先打印出该命令会执行什么内容。
Story manga is known for its feature lengths and distinct story lines, as compared with the one-liner cartoons with gags and jokes.
故事漫画(Storymanga)以其特定长度和独特的故事线索著称,相比之下,卡通则使用那种填充着笑料与玩笑的单线剧情。
"The name's Bond, James Bond" is not only the secret agent's calling card, but now Britain's most memorable movie one-liner of all time.
“我是邦德,詹姆士·邦德”不仅仅是这位秘密特工的自我介绍,它成为英国电影最让人印象深刻的招牌对白。
A problem with the first one-liner in Listing 3 is that it will go through the whole file, even if the necessary range has already been covered.
清单3中第一个一行程序有个问题:它会遍历整个文件,即使它已找到所需范围的时候。
Within DTrace, probes can expose information through arguments which are available for processing when writing a suitable DTrace script or one-liner.
在DTrace 中,探测可以通过参数暴露信息,可以通过编写适当的 DTrace脚本或单行代码访问这些参数。
My addition can be written as $_ = lc; as well, but explicitly stating the subject of the lc() function makes the one-liner more legible, in my opinion.
我所添加的段也可以写成 $_ =lc; ,但是我认为显式地声明 lc()函数的对象使一行程序更清晰。
When you start allowing for system subtypes, logical system divisions, and all the other miscellaneous factors, your one-liner could end up being 300 lines.
当开始允许系统的子类型、逻辑系统部分以及所有其它杂项因素时,这一行程序会变成300行。
If you were stranded on a deserted island and you could have only one item, what would it be? Yes, a classic one-liner, but this convo starter always gets a good answer.
如果你被困在沙漠中但只能带一样东西,你会带什么?没错,就是这个经典的问题,但通常你会得到一个好回答。
I tend to check my Blackberry first thing in the morning and any that I can: a delete, b respond with a one-liner or c action to my assistant usually get dealt with swiftly.
我只要在早晨的第一时间查看一下我的黑莓智能手机,像这样发一条指示信息给我的助理,告诉她要么a删除,要么b回复一行字,要么c行动,她就会很快地帮我处理好。
In the age of the TV sitcom, witty New York repartee and the instant one-liner, Western wisdom in the modern sense can mean something more like the dialogue from an American sitcom.
而在电视情景喜剧、诙谐的纽约式妙语对答和即兴单句俏皮话流行的时代,现代意义上的西方智慧似乎更像美国情景喜剧中的台词。
So a tagline is not meant to be a witty one-liner... Neither is it something that's designed to help your project spring to the top of a project search based on particular keywords.
因此标语不意味着机智的俏皮话……标语的作用也不是要使你的项目排在关键词搜索的顶端。
George Clooney, got a 77 per cent dude rating and the one-liner Boys got Game, whilst British actor Eddie Redmayne, (right,) well know for his acting talents, apparently has skills.
乔治·克鲁尼,得到了77%的评分,和那句“风度男孩”的评语。而颇具表演天赋的英国演员埃迪·雷德梅尼的那行评语是“一看就是技术型男”。
The file: : find standard Perl module could have been used to do the file find instead of the Unix find command, but then the script would have probably been too large to be a one-liner.
find标准Perl模块本来可以代替Unix find命令用于进行文件查找,但是脚本也会随之变得太大而不再是一行程序了。
Fresh: Use lip liner one shade darker than the natural color of your lips.
新鲜:唇线的颜色要比你的自然唇色暗一个调子。
Boeing suspended test flights of its new 787 Dream-liner after a fire broke out in the electronics compartment of one of the jets.
在其中一架飞机电子隔间突然起火后,美国波音公司宣布暂缓试驾新的梦想787客机。
Boeing suspended test flights of its new 787 Dream-liner after a fire broke out in the electronics compartment of one of the jets.
在其中一架飞机电子隔间突然起火后,美国波音公司宣布暂缓试驾新的梦想787客机。
应用推荐