sed and awk Pocket Reference, 2/e
暫譯: sed 與 awk 口袋參考手冊,第2版

Arnold Robbins

  • 出版商: O'Reilly
  • 售價: $960
  • 貴賓價: 9.5$912
  • 語言: 英文
  • 頁數: 52
  • 裝訂: Paperback
  • ISBN: 0596003528
  • ISBN-13: 9780596003524
  • 已過版

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

商品描述

For people who create and modify text files, sed and awk are power tools for editing. sed, awk, and regular expressions allow programmers and system administrators to automate editing tasks that need to be performed on one or more files, to simplify the task of performing the same edits on multiple files, and to write conversion programs.

The sed & awk Pocket Reference is a companion volume to sed & awk, Second Edition, Unix in a Nutshell, Third Edition, and Effective awk Programming, Third Edition. This new edition has expanded coverage of gawk (GNU awk), and includes sections on:

  • An overview of sed and awks command line syntax
  • Alphabetical summaries of commands, including nawk and gawk
  • Profiling with pgawk
  • Coprocesses and sockets with gawk
  • Internationalization with gawk
  • A listing of resources for sed and awk users


This small book is a handy reference guide to the information presented in the larger volumes. It presents a concise summary of regular expressions and pattern matching, and summaries of sed and awk.

Arnold Robbins, an Atlanta native now happily living in Israel, is a professional programmer and technical author and coauthor of various OReilly Unix titles. He has been working with Unix systems since 1980, and currently maintains gawk and its documentation.

Table of Contents    

Introduction      

Conventions Used in This Book      

Matching Text


            Filenames Versus Patterns
            Metacharacters
            Metacharacters, Listed by Unix Program
            Examples of Searching      

The sed Editor


            Command-Line Syntax
            Syntax of sed Commands
            Group Summary of sed Commands
            Alphabetical Summary of sed Commands      

The awk Programming Language


            Command-Line Syntax
            Important gawk Options
            Profiling with pgawk
            Patterns and Procedures
            Built-in Variables
            Operators
            Variable and Array Assignment
            Octal and Hexadecimal Constants in gawk
            User -Defined Functions
            Group Listing of awk Functions and Commands
            Coprocesses and Sockets with gawk
            Implementation Limits
            Alphabetical Summary of awk Functions and Commands
            Internationalization with gawk      

Additional Resources


            Source Code
            Books

商品描述(中文翻譯)

對於創建和修改文本文件的人來說,sed 和 awk 是編輯的強大工具。sed、awk 和正則表達式允許程序員和系統管理員自動化需要在一個或多個文件上執行的編輯任務,簡化在多個文件上執行相同編輯的任務,並編寫轉換程序。

《sed & awk 口袋參考》是《sed & awk 第二版》、《Unix in a Nutshell 第三版》和《Effective awk Programming 第三版》的伴隨書籍。這一新版擴展了對 gawk(GNU awk)的涵蓋,並包括以下部分:
- sed 和 awk 的命令行語法概述
- 包括 nawk 和 gawk 的命令字母順序摘要
- 使用 pgawk 進行性能分析
- 使用 gawk 的共同進程和套接字
- 使用 gawk 的國際化
- sed 和 awk 用戶的資源列表

這本小書是對較大書籍中所呈現信息的便捷參考指南。它提供了正則表達式和模式匹配的簡明摘要,以及 sed 和 awk 的摘要。

阿諾德·羅賓斯(Arnold Robbins),亞特蘭大本地人,現在快樂地生活在以色列,是一位專業程序員和技術作者,也是多本 O'Reilly Unix 書籍的合著者。他自1980年以來一直在使用 Unix 系統,目前負責維護 gawk 及其文檔。

目錄
引言
本書使用的約定
文本匹配
- 文件名與模式
- 元字符
- 按 Unix 程序列出的元字符
- 搜索示例
sed 編輯器
- 命令行語法
- sed 命令的語法
- sed 命令的組摘要
- sed 命令的字母順序摘要
awk 程式語言
- 命令行語法
- 重要的 gawk 選項
- 使用 pgawk 進行性能分析
- 模式和過程
- 內建變數
- 運算符
- 變數和數組賦值
- gawk 中的八進制和十六進制常數
- 用戶定義函數
- awk 函數和命令的組列表
- 使用 gawk 的共同進程和套接字
- 實現限制
- awk 函數和命令的字母順序摘要
- 使用 gawk 的國際化
附加資源
- 源代碼
- 書籍