one-liner

one-liner

美  英

  • n.小笑话;俏皮话;风趣的话
  • 网络单行方式;单行程序;单行指令

词形变化

复数:one-liners  

同义词

英汉双解

n.
1.
小笑话;俏皮话;风趣的话a short joke or funny remark
He came out with some good one-liners.
他讲了几个很有趣的小笑话。

英汉解释

n.
1.
简短,机警的诙谐语

英英解释

n.

例句

In one coverage, she did not answer questions but when I asked, she turned and looked at me and gave me a one-liner.

在一个新闻报导中,她没有回答问题,但当我询问时,她转过身看著我,对我说了句俏皮话。

I know it's just a one liner comment across the internet, but it makes you sound really patronising.

我知道它仅仅是Internet网友评论,但它让你听起来真的光顾。

The fact that Class: : DBI simplifies record operations to one-liners makes embedding Perl code in the database feasible and palatable.

DBI将对记录的操作简化为单行形式(one-liner),这一事实使得在数据库中嵌入Perl代码既切实可行又令人满意。

"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.

“我是邦德,詹姆士邦德”不仅仅是这位秘密特工的自我介绍,它成为英国电影最让人印象深刻的招牌对白。

Editing files, for instance, can be a simple one-liner if you want to replace one word with another.

例如,如果想用另一个词替换某个词,编辑文件可以是简单的一行程序。

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(这是个很好的练习,但是像我这样的人在凌晨两点是没空的)。

The following is not a one-liner, but it's a pretty useful script that started as a one-liner.

下面并不是一个一行程序,但它是个相当有用的脚本,它在刚出现时充当一行程序。

This 3-line script is about as large as a one-liner could be before you have to rewrite it as a real script.

这个3行脚本在您必须将其重写成实际脚本前大约和一行程序一样大。

Story manga is known for its feature lengths and distinct story lines, as compared with the one-liner cartoons with gags and jokes.

故事漫画(Storymanga)以其特定长度和独特的故事线索著称,相比之下,卡通则使用那种填充着笑料与玩笑的单线剧情。

For simplicity, we'll extract just the relevant coordinate and identifier portions with the one-liner shown below.

为简单起见,我们将使用以下这条简单的语句只提取相关的坐标和标识符内容。

When used on e-mail messages or Usenet articles, the preceding one-liner strips out all headers.

当在电子邮件消息或Usenet文章中使用时,前述单命令行程序将除去所有标头。

" The one-liner, he says, was " invented, or at any rate brought to the forefront, by Benjamin Franklin.

他认为单行短笑话是“由本杰明·富兰克林所创造,或者说是由他推向大众。”

She started her speech with a one-liner.

她以一个小笑话开始了她的演讲。

EG: That old one-liner could now become the motto of the world's nuclear industry.

这句古老的俏皮话可能会成为全球核工业的信条。

Although it's simple, the disadvantage of this one-liner is that it creates a new file.

虽然这个单命令行程序非常简单,但是它的缺点在于创建了一个新文件。

Single quotes are better, because then you can use double quotes inside the one-liner.

单引号更好,因为使用单引号后您可以在一行程序内使用双引号。

Thus, we come to our first one-liner, intended to add two columns in the text input to the script.

因此,我们来查看第一个一行程序,它旨在将文本输入中的两列添加到脚本中。

Consider the following one-liner to create a list of the top 50 e-mail senders in the emailHours file.

考虑使用下面一行代码在emailHours文件中创建前50个电子邮件发送者的列表。

Consider the following one-liner to build Web-page thumbnails for each domain mentioned in the top10Links file.

考虑使用如下一行代码为top10Links文件包含的域构建Web页面缩略图。

It is interesting as an exercise, but in practice the one-liner would become 20-30 lines of unnecessary code.

作为练习这会很有趣,但是实际上一行程序可能会变成20-30行不必要的代码。

You should understand what's needed from your one-liner, and do exactly that.

您应该理解您的一行程序需要什么,并正确执行。

Markers, the third one-liner will print the lines inside all eight sets.

标记,那么第三个一行程序将打印所有八组标记中的行。

The third one-liner does not have that problem, because it will print all the lines between the START and END markers.

第三个一行程序就没有这个问题,因为它将打印START标记和END标记之间的所有行。

Take the output of find, a list of files, and pass it to the one-liner.

获取find的输出(一个文件列表)并将其传递给一行程序。

You should never run a one-liner outright; always print out what it will do before you actually run the command.

您永远不应立即运行一行程序;在您真正运行命令之前应该总是先打印出该命令会执行什么内容。

Finally, you can also write one liners from the command line, just like Perl or Ruby. That same example looks like this as a one liner

最后,与Perl或Ruby一样,还可以在命令行中编写单行脚本。

Printing the contents of %ENV with a one-liner

用一行代码打印%ENV内容

A problem with the first one-liner in Listing 3 is that it will go through the

清单3中第一个一行程序有个问题:它会遍历