one-liner
美
英 
- n.小笑話;俏皮話;風趣的話
- 網絡單行方式;單行程序;單行指令
詞形變化
復數:one-liners 同義詞
英漢雙解
1. | 小笑話;俏皮話;風趣的話a short joke or funny remark |
| He came out with some good one-liners. 他講了幾個很有趣的小笑話。 |
英漢解釋
英英解釋
例句
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中第一個一行程序有個問題:它會遍歷