Use your one-liner skills sparingly.
请省着点使用一行程序技能。
Printing the contents of % ENV with a one-liner.
用一行代码打印%ENV内容。
Take the output of find, a list of files, and pass it to the one-liner.
获取find的输出(一个文件列表)并将其传递给一行程序。
You should understand what's needed from your one-liner, and do exactly that.
您应该理解您的一行程序需要什么,并正确执行。
EG: That old one-liner could now become the motto of the world's nuclear industry.
这句古老的俏皮话可能会成为全球核工业的信条。
Single quotes are better, because then you can use double quotes inside the one-liner.
单引号更好,因为使用单引号后您可以在一行程序内使用双引号。
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.
因此标语不意味着机智的俏皮话……标语的作用也不是要使你的项目排在关键词搜索的顶端。
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.
因此标语不意味着机智的俏皮话……标语的作用也不是要使你的项目排在关键词搜索的顶端。
应用推荐