《AWK 程序设计语言》封面

AWK 程序设计语言

The AWK programming language

Alfred V. Aho、Brian W. Kernighan、Peter Weinberger · 初版 1988 年

61人推荐
79位读者提及
117次提及

为什么值得读

  • 语言设计者亲自撰写且文笔极其精炼
  • 花一个下午即可通读并掌握这门语言
  • 超越语言本身展示丰富问题解决思路

Hacker News 上怎么说

  • ……'awkcc' 带来的潜在改进。虽然那时 perl 正成为新宠,但多年来 Awk 一直是我最趁手的工具。如果你想学 Awk,我强烈推荐 Aho、Kernighan 和 Weinberger 写的《The AWK Programming Language》。它的厚度跟原版《The C Programming Language》差不多,写得也同样精彩。HN 之前的讨论:https://news.ycombinator.com/item?id=13451454

    …potential improvements offered by 'awkcc'. Although perl was becoming the new hotness at that time, Awk remained my goto tool for many years. If you are interested in learning Awk, I highly recommend "The AWK Programming Language" by Aho, Kernighan, and Weinberger. It's about the same size as the original "The C Programming Language" and is equally well-written. Previously on HN: https://news.ycombinator.com/item?id=13451454

  • ……熬了一整夜外加第二天上午。(我正在刷第二遍,做大部分习题,第 2 章快看完了。不过我正打算休息会儿。)Leo Brodie 等人的《Thinking Forth》,Aho、Weinberger 和 Kernighan 的《The Awk Programming Language》,Jon Bentley 的《Programming Pearls》和《More Programming Pearls》。《CTM》(http://www.info.ucl.ac.be/~pvr/book.html)我也看得欲罢不能。花了好一阵子才……

    …in one night and the following morning. (I'm on the second pass, doing most of the exercises, and nearly done with chapter 2. I'm taking a break, though.) _Thinking Forth_, by Leo Brodie et al. _The Awk Programming Language_ by Aho, Weinberger, and Kernighan. _Programming Pearls_ and _More Programming Pearls_ by Jon Bentley. I couldn't put _CTM_ (http://www.info.ucl.ac.be/~pvr/book.html) down, either. It took a while to…

  • ……在准结构化(不算纯粹的 CSV,但也并非完全自由格式)数据的世界里编写实用程序所需的一切。你花一个下午就能学完这门语言的全部内容并上手运用。我推荐 Aho、Kernighan 和 Weinberger 写的《The AWK Programming Language》,不过目前亚马逊上标的售价高得离谱。不妨试试淘一本二手书。

    …needed to write useful programs in the world of quasi-structured (not quite CSV but not completely free form) data. You can learn the whole language and become proficient in an afternoon. I recommend "The AWK Programming Language" by Aho, Kernighan, and Weinberger, though it seems to be listed for a hilariously high price on Amazon at the moment. Maybe try to pick up a used copy.

  • ……这对于写比较复杂的“one liners”非常棒。Awk 在所有 posix 环境下也都是标配,而且 mawk 这个发行版本速度极快(如果你要处理超大文件,这点就很关键)。有一本神书叫《The AWK Programming Language》,除了 awk 语言本身,它还教了很多通用编程知识。这里有很棒的讨论和 PDF 链接:[0] [0] https://news.ycombinator.com/item?id=13451454

    …' which is nice for more complex "one liners". Awk is also standard on all posix environments and in the mawk flavor is extremely fast (relevant if you are processing huge files). There is superb book, The AWK Programming Language, which teaches a lot about programming in addition to the awk language. Good discussion and link to pdf here: [0] [0] https://news.ycombinator.com/item?id=13451454

  • 这是我最喜欢的书之一——最初我是看了 Brandon Rhodes 的书评 [0] 才买了一本:> 但学习 awk 的真正原因,其实是找个借口去读一读它的作者 Aho、Kernighan 和 Weinberger 写的这本神书《The AWK Programming Language》。光看书名,你可能会以为它只是教你 awk。其实,这仅仅是个开端。深入探讨可以通过它解决的大量问题……

    One of my favorite books - I initially bought a copy based on a review by Brandon Rhodes [0]: > But the real reason to learn awk is to have an excuse to read the superb book The AWK Programming Language by its authors Aho, Kernighan, and Weinberger. You would think, from the name, that it simply teaches you awk. Actually, that is just the beginning. Launching into the vast array of problems that can…

  • 几个月前我在这里推荐了《Sed & Awk》那本书,之后 silentbicycle 反驳说[1],Aho、Kernighan 和 Weinberger 写的《The Awk Programming Language》[2]要好得多。我很好奇,就在夏末买来读完了。确实相当出色。强烈、极力推荐。[1] http://news.ycombinator.com/item?id=1403376……

    After I recommended the Sed & Awk book here a few months ago, silentbicycle countered[1] that The Awk Programming Language[2] (by Aho, Kernighan and Weinberger) was much better. I was curious enough that I bought and read it just at the end of summer. It really is excellent. Highly, highly recommended. [1] http://news.ycombinator.com/item?id=1403376…

正在加载完整评论……

键盘快捷键

/
聚焦搜索框
j / k
下一本 / 上一本
Enter
打开选中的书
Esc
关闭 / 返回
g h
回到首页
g b
值得读精选
g t
历史总榜
g r
上升最快
g l
我的书架
?
显示本帮助