因?yàn)?/c>AWK,但在計(jì)算機(jī)科學(xué)這個(gè)研究圈子里人們對(duì)我在理論方面的工作更熟悉。
Although it is possible to write advanced sorting applications in Perl or Awk, doing so may not always be necessary -- and is often a pain.
盡管可以用Perl或Awk編寫高級(jí)排序應(yīng)用程序,但并非總是有此必要,而且這樣的工作也常常令人感到頭疼。
Awk is one of those languages that, once learned, will become a key part of your strategic coding arsenal.
awk是一種一旦學(xué)會(huì)就會(huì)成為您戰(zhàn)略代碼庫的重要部分的語言。
This, however, produced a surprising behavior; those functions did not work as expected when the executable being run was the awk utility.
不過,這導(dǎo)致了不可思議的行為;當(dāng)運(yùn)行的可執(zhí)行文件為awk實(shí)用工具時(shí),這兩個(gè)函數(shù)不能正常工作。
So I initially viewed the creation of AWK as a learning experience and a diversion rather than part of my regular research activities.
所以最初我只是把開發(fā)AWK視為一種實(shí)踐,而不是正兒八經(jīng)的研究。
He had been using languages like the Unix programs sed, awk, and sh, along with programs written in C, to perform a variety of tasks.
他曾經(jīng)用像Unix程序sed、awk和sh,以及用C寫的程序的語言執(zhí)行過各種各樣的任務(wù)。
Some of them allow you to fine-tune how awk functions, while others can be read to glean valuable information about the input.
其中一些變量支持調(diào)優(yōu)awk性能,而且可以讀取另一些變量來收集關(guān)于輸入的重要信息。
As mentioned earlier, this variable allows you to set the character sequence that awk expects to find between fields.
如前所述,這個(gè)變量支持設(shè)置awk期望在字段中找到的字符序列。
But he had written a powerful CAD development system in AWK because he could do it so quickly and with such facility.
但他用AWK寫了一個(gè)很強(qiáng)大的CAD開發(fā)系統(tǒng)。他說用AWK來開發(fā)很快,很靈巧。
The reason he initially came to see me was to report a bug in the AWK compiler.
他最初來見我的原因就是為了報(bào)告一個(gè)AWK編譯器里的bug。
However, AWK was also the man the NATO-led International Security Assistance Force (ISAF) had to turn to for help.
然而,艾哈邁德·瓦里·卡爾扎伊也是北約領(lǐng)導(dǎo)的國際安全支援部隊(duì)(ISAF)尋求幫助的對(duì)象。
It can be applied to much larger problems than languages such as Awk or even Perl can, yet it remains as easy to use as those languages.
它能被應(yīng)用于處理比Awk或Perl一類的語言能處理的更大問題,同時(shí)保持與這些語言一樣的易用性。
I mentioned to you earlier that there was a person who wrote a CAD system in AWK.
我之前提到過一個(gè)用AWK寫了CAD系統(tǒng)的家伙。
As with a number of languages, it was born from the necessity to meet a need.
和大部分語言一樣,AWK是應(yīng)實(shí)際需要而生的。
We initially created AWK as a 'throw-away' language, so we didn't do rigorous quality control as part of our initial implementation.
我們最初把AWK定位為一種用過即扔的語言,所以在最初的實(shí)現(xiàn)中沒有做嚴(yán)格的質(zhì)量控制。
But very quickly we discovered lots of other people had the need for the routine kind of data processing that AWK was good for.
但很快我們發(fā)現(xiàn),很多人有數(shù)據(jù)處理的需求,而這正是AWK所擅長的。
You should also be able to write custom AWK programs to perform complex text processing from the UNIX command line.
您還應(yīng)該能夠編寫自定義的AWK程序,以使用UNIX命令行執(zhí)行復(fù)雜的文本處理。
AWK has inspired many other languages as you've already mentioned: why do you think this is?
問:您剛才提到AWK影響了很多語言,您認(rèn)為這是為什么?
So from that perspective AWK has significantly influenced how I teach programming languages and compilers and software development.
所以從這個(gè)角度講,AWK真的對(duì)我教程序語言、編譯和軟件開發(fā)都有很深的影響。
Many more people know me for AWK as they've used it personally.
很多人知道我是因?yàn)?/c>AWK。
Then, use awk to strip out the command name minus options and arguments, and pass the sorted list to uniq to give an enumerated list.
然后,使用awk刪除命令名稱減號(hào)選項(xiàng)和參數(shù),然后將經(jīng)過排序的列表傳遞給uniq以得到一個(gè)枚舉列表。
Awk is geared toward text processing and report generation, yet features many well-designed features that allow for serious programming.
awk適合于文本處理和報(bào)表生成,它還有許多精心設(shè)計(jì)的特性,允許進(jìn)行多種方式的編程。
In awk, when a print command appears by itself, the full contents of the current line are printed.
在Awk中,當(dāng)print命令單獨(dú)出現(xiàn)時(shí),將打印當(dāng)前行的全部內(nèi)容。
Awk is commonly used for basic tasks such as breaking up text into fields; Perl excels at text manipulation by design.
awk常用于諸如將一個(gè)文本分解成幾段之類的基本任務(wù);Perl擅長進(jìn)行有目的的文本操作。
Normally, awk executes each block of your script's code once for each input line.
通常,awk會(huì)針對(duì)每個(gè)輸入行執(zhí)行一次每個(gè)代碼塊。
So not only was AWK popular when it was introduced but it also stimulated the creation of other popular languages.
所以不光是它剛出現(xiàn)的時(shí)候受歡迎,它也影響了很多新生語言。
Previously we spoke to Alfred v. Aho of AWK fame, and in this article we chat to Chet Ramey about his experience maintaining Bash.
先前我們談到阿爾弗雷德·v·阿霍的AWK的名聲,而在這篇文章中,我們與切特·雷米聊天,談他維護(hù)Bash的經(jīng)驗(yàn)。
Implementation of the standard work cycles into SAP after consulting the central AWK and the BU manager into SAP.
在SAP系統(tǒng)內(nèi)履行標(biāo)準(zhǔn)工作周期,在與AWK中心和BU經(jīng)理商量后。
A dictionary in Vimscript is essentially the same as an AWK associative array, a Perl hash, or a Python dictionary.
Vimscript中的字典在本質(zhì)上和AWK關(guān)聯(lián)數(shù)組、Perl哈希表,或者Python字典都是一樣。
awk tests every record in the specified file (or files) for a pattern match.
awk測(cè)試指定文件中的每個(gè)記錄是否符合模式匹配。
By default, awk treats each comma-separated value as a different field.
缺省情況下,awk將每個(gè)以逗號(hào)分隔的值視為不同的字段。
This will also bring the report into columns where awk can then be used to extract details.
這會(huì)讓報(bào)告以列的形式呈現(xiàn),awk可以從這些列中提取信息。
A typical AWK program would have several pattern-action statements.
AWK程序一般由一組“模式——動(dòng)作”語句構(gòu)成。
How has being one of the three creators of AWK impacted your career?
AWK之父的聲譽(yù)對(duì)您的職業(yè)生涯有什么影響嗎?
We spent a whole year intensely debating what constructs should and shouldn't be in the language.
整整一年,我們都在激烈地討論哪些特性應(yīng)該加進(jìn)AWK,哪些應(yīng)該丟棄。
By using the NOT operator with awk, you can specify what records should NOT be extracted from the report.
通過在awk語句中使用NOT操作符,可以指定不應(yīng)該提取哪些記錄。
Another program that uses regular expression extensively is awk.
使用正則表達(dá)式的另一個(gè)程序是awk。
Another nice thing about awk is its full complement of mathematical operators.
Awk的另一個(gè)優(yōu)點(diǎn)是它擁有全面的數(shù)學(xué)運(yùn)算符。
Because by default, FS is set to a single space character, which awk interprets to mean "one or more spaces or tabs. "
因?yàn)?/c>在默認(rèn)情況下,FS被設(shè)為單個(gè)空格字符,awk將其解釋為“一個(gè)或多個(gè)空格或制表符”。
Probably some standard Unix shell tools like awk, sed, or tr could be used cleverly to get the precise output desired.
也許可以聰明地使用一些標(biāo)準(zhǔn)的Unixshell工具,如awk、sed或者tr,以準(zhǔn)確得到所需要的輸出。