O''Reilly sed & awk 2nd edition from the o''reilly anthology

675 509 0
O''Reilly   sed & awk 2nd edition   from the o''reilly anthology

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

O''Reilly sed & awk 2nd edition from the o''reilly anthology

sed & awk By Dale Dougherty & Arnold Robbins; ISBN 1-56592-225-5, 432 pages Second Edition, March 1997 (See the catalog page for this book.) Search the text of sed & awk Index Symbols | A | B | C | D | E | F | G | H | I | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y Table of Contents Preface Chapter 1: Power Tools for Editing Chapter 2: Understanding Basic Operations Chapter 3: Understanding Regular Expression Syntax Chapter 4: Writing sed Scripts Chapter 5: Basic sed Commands Chapter 6: Advanced sed Commands Chapter 7: Writing Scripts for awk Chapter 8: Conditionals, Loops, and Arrays Chapter 9: Functions Chapter 10: The Bottom Drawer Chapter 11: A Flock of awks Chapter 12: Full-Featured Applications Chapter 13: A Miscellany of Scripts Appendix A: Quick Reference for sed Appendix B: Quick Reference for awk Appendix C: Supplement for Chapter 12 Examples file:///H|/temp/incoming/ebook/(ebook)%2029%20Com eilly%20Reference%20Library/unix/sedawk/index.htm (1 of 2) [07.12.2001 16:49:05] sed & awk Copyright © 1998 O'Reilly & Associates All Rights Reserved file:///H|/temp/incoming/ebook/(ebook)%2029%20Com eilly%20Reference%20Library/unix/sedawk/index.htm (2 of 2) [07.12.2001 16:49:05] Index Symbols | A | B | C | D | E | F | G | H | I | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y Index: Symbols and Numbers & (ampersand) && (logical AND) operator : 7.8 Relational and Boolean Operators in replacement text 5.3 Substitution 5.3.1 Replacement Metacharacters * (asterisk) ** (exponentiation) operator : 7.6 Expressions **= (assignment) operator : 7.6 Expressions *= (assignment) operator : 7.6 Expressions as metacharacter 3.1 That's an Expression 3.2.5 Repeated Occurrences of a Character multiplication operator : 7.6 Expressions \ (backslash) 7.6 Expressions (see also escape sequences, awk) \ escape sequences 3.2.11 What's the Word? Part II 11.2.3.4 Extended regular expressions \`, \' escape sequences : 11.2.3.4 Extended regular expressions character classes and : 3.2.4 Character Classes as metacharacter 3.2 A Line-Up of Characters 3.2.1 The Ubiquitous Backslash in replacement text 5.3 Substitution 5.3.1 Replacement Metacharacters {} (braces) \{\} metacharacters 3.2 A Line-Up of Characters file:///H|/temp/incoming/ebook/(ebook)%2029%20Com 20Reference%20Library/unix/sedawk/index/idx_0.htm (1 of 5) [07.12.2001 16:49:09] Index 3.2.8 A Span of Characters in awk 2.1 Awk, by Sed and Grep, out of Ed 2.4.1 Running awk 8.1 Conditional Statements grouping sed commands in 4.2.1 Grouping Commands 5.1 About the Syntax of sed Commands [] (brackets) metacharacters 3.2 A Line-Up of Characters 3.2.4 Character Classes [::] metacharacters : 3.2.4.3 POSIX character class additions [ ] metacharacters : 3.2.4.3 POSIX character class additions [==] metacharacters : 3.2.4.3 POSIX character class additions ^ (circumflex) ^= (assignment) operator : 7.6 Expressions character classes and 3.2 A Line-Up of Characters 3.2.4.2 Excluding a class of characters exponentiation operator : 7.6 Expressions as metacharacter 3.2 A Line-Up of Characters 3.2.7 Positional Metacharacters in multiline pattern space : 6.1.1 Append Next Line : (colon) for labels : 6.4 Advanced Flow Control Commands $ (dollar sign) as end-of-line metacharacter 3.2 A Line-Up of Characters 3.2.7 Positional Metacharacters for last input line : 4.2 A Global Perspective on Addressing in multiline pattern space : 6.1.1 Append Next Line $0, $1, $2, 2.4.1 Running awk 7.5.1 Referencing and Separating Fields (dot) metacharacter 3.1 That's an Expression 3.2.2 A Wildcard 3.2.5 Repeated Occurrences of a Character = (equal sign) == (equal to) operator : 7.8 Relational and Boolean Operators file:///H|/temp/incoming/ebook/(ebook)%2029%20Com 20Reference%20Library/unix/sedawk/index/idx_0.htm (2 of 5) [07.12.2001 16:49:09] Index for printing line numbers : 5.9 Print Line Number ! (exclamation point) 4.2 A Global Perspective on Addressing A.2.1 Pattern Addressing != (not equal to) operator : 7.8 Relational and Boolean Operators !~ (does not match) operator 7.5.1 Referencing and Separating Fields 7.8 Relational and Boolean Operators branch command versus : 6.4.1 Branching csh and : 1.4 Four Hurdles to Mastering sed and awk logical NOT operator : 7.8 Relational and Boolean Operators > (greater than sign) >= (greater than or equal to) operator : 7.8 Relational and Boolean Operators for redirection 2.3.2.1 Saving output 4.3 Testing and Saving Output 10.5 Directing Output to Files and Pipes relational operator : 7.8 Relational and Boolean Operators - (hyphen) -= (assignment) operator : 7.6 Expressions (decrement) operator : 7.6 Expressions character classes and : 3.2.4.1 A range of characters subtraction operator : 7.6 Expressions < (less than sign)

Ngày đăng: 25/11/2013, 11:08

Từ khóa liên quan

Tài liệu cùng người dùng

Tài liệu liên quan