售价: ¥257.00
免运费且可货到付款详情
加入Prime可免运费加入Prime可免运费
前翻 后翻
正在播放... 已暂停   您正在聆听的 Audible 音频版本的样品。
了解更多信息
查看全部 2 张图片

sed & awk (英语) 平装 – 1997年3月1日

平均4.5 星
5 星
44
4 星
17
3 星
6
2 星
1
1 星
1
平均4.5 星 69条亚马逊美国的评论 us-flag |
| 天天低价·正品质优
|
分享
| 自营
广告

显示所有 2 格式和版本 隐藏其他格式和版本
亚马逊价格
全新品最低价 非全新品最低价
平装
"请重试"
¥257.00
¥257.00
促销信息: 满减 图书全场满59元減5元叠加券 共1个促销

全新品2 售价从 ¥257.00
退换承诺: 此商品支持30天免费退换 详情

全场自营图书满59元包邮:
为了让您购书更轻松,我们决定从2017年1月19日起,在亚马逊中国网站购买59元以上(含59元)自营图书商品,或者满99元以上(含99元)合格商品,即可享受免费配送服务。

click to open popover

商品促销和特殊优惠
  • 图书全场满59元減5元叠加券:
    已领优惠码

看过此商品后顾客买的其它商品?

无需Kindle设备,下载免费Kindle阅读软件,即可在您的手机、电脑及平板电脑上畅享阅读。

  • iPhone/iPad/Mac
  • Android手机或平板电脑

请输入您的手机号码,获取Kindle阅读软件的下载链接。



基本信息

  • 出版社: O'Reilly Media; 2 (1997年3月1日)
  • 丛书名: Nutshell Handbooks
  • 平装: 432页
  • 语种: 英语
  • ISBN: 1565922255
  • 条形码: 9781565922259
  • 商品尺寸: 17.8 x 2.5 x 23.3 cm
  • 商品重量: 680 g
  • ASIN: 1565922255
  • 用户评分: 分享我的评价
  • 亚马逊热销商品排名: 图书商品里排第606,922名 (查看图书商品销售排行榜)
  • 您想告诉我们您发现了更低的价格?

商品描述

名人推荐

Publisher Comment
sed & awk, one of the most popular books in O'Reilly & Associates' Nutshell series, describes two text processing programs that are mainstays of the UNIX programmer's toolbox. sed is a "stream editor" for editing streams of text that might be too large to edit as a single file, or that might be generated on the fly as part of a larger data processing step. The most common operation done with sed is substitution, replacing one block of text with another. awk is a complete programming language. Unlike many conventional languages, awk is "data driven" -- you specify what kind of data you are interested in and the operations to be performed when that data is found. awk does many things for you, including automatically opening and closing data files, reading records, breaking the records up into fields, and counting the records. While awk provides the features of most conventional programming languages, it also includes some unconventional features, such as extended regular expression matching and associative arrays. sed & awk describes both programs in detail and includes a chapter of example sed and awk scripts. This new edition covers features of sed and awk that are now mandated by the POSIX standard. This most notably affects awk, where POSIX standardized a new variable, CONVFMT, and new functions, toupper() and tolower(). The CONVFMT variable specifies the conversion format to use when converting numbers to strings (awk used to use OFMT for this purpose). The toupper() and tolower() functions each take a (presumably mixed case) string argument and return a new version of the string with all letters translated to the corresponding case. In addition, this edition covers GNU sed, newly available since the first edition. It also updates the first edition coverage of Bell Labs nawk and GNU awk (gawk), covers mawk, an additional freely available implementation of awk, and briefly discusses three commercial versions of awk, MKS awk, Thompson Automation awk (tawk), and Videosoft (VSAwk).

From the Back Cover

The book begins with an overview and a tutorial that demonstrate a progression in functionality from grep to sed to awk. sed and awk share a similar command-line syntax, accepting user instructions in the form of a script. Because all three programs use UNIX regular expressions, an entire chapter is devoted to understanding UNIX regular expression syntax. Next, the book describes how to write sed scripts. After getting started by writing a few simple scripts, you'll learn other basic commands that parallel manual editing actions, as well as advanced commands that introduce simple programming constructs. Among the advanced commands are those that manipulate the hold space, a set-aside temporary buffer. The second part of the book has been extensively revised to include POSIX awk as well as coverage of three freely available and three commercial versions of awk. The book introduces the primary features of the awk language and how to write simple scripts. You'll also learn: common programming constructs; how to use awk's built-in functions; how to write user-defined functions; debugging techniques for awk programs; how to develop an application that processes an index, demonstrating much of the power of awk; and FTP and contact information for obtaining various versions of awk. Also included is a miscellany of user-contributed scripts that demonstrate a wide range of sed and awk scripting styles and techniques.


作者简介

Dale Dougherty is the publisher of the O'Reilly Network and Director of O'Reilly Research. Dale has been instrumental in many of O'Reilly's most important efforts, including founding O'Reilly & Associates with Tim O'Reilly. He was the developer and publisher of Global Network Navigator (GNN), the first commercial Web site. Dale was developer and publisher of Web Review, the online magazine for Web designers, and he was O'Reilly & Associates' first editor. Dale has written and edited numerous books at O'Reilly & Associates. Dougherty is a Lecturer in the School of Information Management and Systems (SIMS) at the University of California at Berkeley.

Arnold Robbins, an Atlanta native, is a professional programmer and technical author. He has worked with Unix systems since 1980, when he was introduced to a PDP-11 running a version of Sixth Edition Unix. He has been a heavy AWK user since 1987, when he became involved with gawk, the GNU project's version of AWK. As a member of the POSIX 1003.2 balloting group, he helped shape the POSIX standard for AWK. He is currently the maintainer of gawk and its documentation. He is also coauthor of the sixth edition of O'Reilly's Learning the vi Editor. Since late 1997, he and his family have been living happily in Israel.

商品评论

在亚马逊中国上尚未有买家评论。
5 星
4 星
3 星
2 星
1 星

此商品在美国亚马逊上最有用的商品评论 (beta) (可能包括"Early Reviewer Rewards Program"的评论)

美国亚马逊: 平均4.5 星 69 条评论
3/3 人认为此评论有用
平均5.0 星 my favourite language covered well 2014年5月12日
评论者 Kim L - 已在美国亚马逊上发表
版本: Kindle电子书 已确认购买
The UNIX command line pipeline remains one of the seminal concepts of computer science. It remains one of the greatest achievements in my opinion and AWK may be one of the greatest embodiments of the concepts while adding just enough capability to be a language on its own as well. In these days of rdf and jason, plain and encoded text remains a viable alternative for simple tasks. Very well worth the read, especially if you were not trained in the 60s or 70s ...
6/6 人认为此评论有用
平均5.0 星 Can Replace All of Your SED & AWK Bookmarks (2ndEd) 2008年8月13日
评论者 Clint Pachl - 已在美国亚马逊上发表
版本: 平装 已确认购买
This book is like a big tutorial series, packed with tons of applicable examples. It is not a reference, that's what the man pages are for, although the index if very good. In fact, the combination of the *BSD man pages and this book would give any man all the SED and AWK documentation he would ever need.

SED and AWK are these two very terse programs that, if you don't use them everyday, you tend to forget their syntax and functionality. I am not an everyday user. Before I bought this book, I often visited one of my many SED/AWK bookmarks. After years of using both programs, I never really understood them. I knew just enough to do small one-liners. However, I recently needed to build a fairly complex script to perform an automated OS upgrade via the network. I knew SED and AWK could help me accomplish my task, but I didn't have a full understanding of their potential. That's when I decided to buy this book. I have since then deleted all of my SED and AWK bookmarks.

After studying this book and highlighting the hell out of it, I have a clear understanding of these two tools and how to effectively utilize them.
7/8 人认为此评论有用
平均3.0 星 Somewhat useful 2013年2月25日
评论者 William M - 已在美国亚马逊上发表
已确认购买
I bought a used copy, which turned out to have been printed in 1992. Operating system references are to UNIX, as Linux was a virtually-unknown infant at the time; references to various software utilities is similarly dated. The 2nd edition might be somewhat better; it's listed as a 1997 edition, so it may actually be aware of Linux. Even so, I would be skeptical of spending the dough on a pig in a poke.

Dated material aside, I found the book difficult to use, even though I've been learning programming languages since 1982 -- including that early, primitive BASIC, 8086 assembly, Pascal, C, C++, Perl, HTML, Java, VB, and others. The flow of its materials presentation doesn't seem to build naturally from ground zero. Perhaps if I'd learned programming on a UNIX machine, the references in this book would be clearer.

So, heads up if you're looking to learn sed and awk. This book can probably be of some help (especially if you're a UNIX geek), but you may well need to augment it with a lot of on-line or other research.
5/6 人认为此评论有用
平均5.0 星 Another brilliant book from the O'Reilly crew. 2001年3月30日
评论者 Wandering Soul - 已在美国亚马逊上发表
版本: 平装 已确认购买
This is a typically great book from O'Reilly Press. I find this book to be invaluable when I need to look up how to do something with sed or awk.
It takes you through the basics of sed and awk, shows you regular expression syntax and delves deeper into both programs. For sed it shows you all of the basic sed commands as well as many of the more advanced commands such as multiline pattern spaces. With awk it goes even deeper as awk is a more powerful program. It shows the basics for writing awk scripts then takes you into flow control, functions and debugging.
I find the writing to be concise and clear with many examples to show you how it works in the real world.
All in all it's a great book for the unix admin or programmer to have on their bookshelf.
2/3 人认为此评论有用
平均4.0 星 basic tools to do a basic job 2008年12月15日
评论者 Herbert C. Meyer - 已在美国亚马逊上发表
版本: 平装 已确认购买
Computers do one basic job, they process data. Often, you do not have control over the output format of the data, but the stuff you want in in there somewhere. So you capture the output to a file, and then chop and hack at it with a text editor to get the data you want in format somewhat like you want.
You can either spend the rest of eternity with a text editor or get these guys, and learn a bit to instruct them to do totally boring but useful drudgery. And perhaps learn about regular expressions and pattern matching. And then do something interesting.
Don't worry, you will have do do it again, if for no other reason than the entity that controls the format of the data decided to change it, for no other reason than to annoy and confound you. But, since you have learned about pattern matching, a minor change will fix it, and you can go back to whatever.
The specific purpose this time was to avoid subscribing to a listing service for cable tv programming. Zap2it publishes the listings on most newspaper websites, and program called wget allows me to write these listings to a file. Then using sed to slice and dice allows me to read simply formatted listings, and eventually feed them to a recording system.