sed and awk Pocket Reference, 2/e

Arnold Robbins

  • 出版商: O'Reilly
  • 售價: $810
  • 貴賓價: 9.5$770
  • 語言: 英文
  • 頁數: 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    


Conventions Used in This Book      

Matching Text

            Filenames Versus Patterns
            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
            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