Effective awk Programming: Universal Text Processing and Pattern Matching, 4/e (Paperback)
暫譯: 有效的 awk 程式設計:通用文本處理與模式匹配,第 4 版 (平裝本)

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 程式,展示了如何使用 awkgawk 來解決問題,然後深入探討 gawk 的特定功能。系統管理員、程式設計師、網站管理員及其他高級用戶將會找到他們需要了解的所有有關 awkgawk 的資訊。您將學會如何:

- 在 awkgawk 中格式化文本並使用正則表達式
- 使用 awk 的運算符和內建函數處理數據
- 使用關聯陣列管理數據關係
- 定義您自己的函數
- 以「在 awk 中思考」的方式,透過兩整章的範例函數和程式
- 利用 gawk 的許多進階功能
- 使用 gawk 內建除錯器除錯 awk 程式
- 通過用 C 或 C++ 編寫新函數來擴展 gawk

本書根據 GNU 自由文檔許可證的條款發行。您有權複製和修改這本 GNU 手冊。