Effective awk Programming: Universal Text Processing and Pattern Matching, 4/e (Paperback)

Arnold Robbins

  • 出版商: O'Reilly
  • 出版日期: 2015-04-14
  • 定價: $1,485
  • 售價: 8.0$1,188
  • 語言: 英文
  • 頁數: 560
  • 裝訂: Paperback
  • ISBN: 1491904615
  • ISBN-13: 9781491904619
  • 相關分類: Text-mining
  • 立即出貨

買這商品的人也買了...

商品描述

When processing text files, the awk language is ideal for handling data extraction, reporting, and data-reformatting jobs. This practical guide serves as both a reference and tutorial for POSIX-standard awk and for the GNU implementation, called gawk. This book is useful for novices and awk experts alike.

In this thoroughly revised edition, author and gawk lead developer Arnold Robbins describes the awk language and gawk program in detail, shows you how to use awk and gawk for problem solving, and then dives into specific features of gawk. System administrators, programmers, webmasters, and other power users will find everything they need to know about awk and gawk. You will learn how to:

  • Format text and use regular expressions in awk and gawk
  • Process data using awk's operators and built-in functions
  • Manage data relationships using associative arrays
  • Define your own functions
  • "Think in awk" with two full chapters of sample functions and programs
  • Take advantage of gawk's many advanced features
  • Debug awk programs with the gawk built-in debugger
  • Extend gawk by writing new functions in C or C++

This book is published under the terms of the GNU Free Documentation License. You have the freedom to copy and modify this GNU manual.

商品描述(中文翻譯)

在處理文字檔案時,awk 語言是處理資料擷取、報表和資料重新格式化工作的理想選擇。這本實用指南既是 POSIX 標準 awk 和 GNU 實作 gawk 的參考書,也是教學書。無論是新手還是 awk 專家都會覺得這本書很有用。

在這本經過全面修訂的新版中,作者和 gawk 的主要開發者 Arnold Robbins 詳細介紹了 awk 語言和 gawk 程式,並展示了如何使用 awk 和 gawk 解決問題,然後深入介紹了 gawk 的特定功能。系統管理員、程式設計師、網站管理員和其他高級使用者將找到關於 awk 和 gawk 的一切所需知識。你將學到如何:

- 在 awk 和 gawk 中格式化文字並使用正則表達式
- 使用 awk 的運算子和內建函數處理資料
- 使用關聯陣列管理資料關係
- 定義自己的函數
- 透過兩個完整章節的範例函數和程式來「以 awk 的方式思考」
- 利用 gawk 的許多高級功能
- 使用 gawk 內建的除錯器來除錯 awk 程式
- 透過使用 C 或 C++ 撰寫新函數來擴充 gawk

這本書根據 GNU 自由文件授權條款發行。你有自由複製和修改這本 GNU 手冊。