Index: P
Symbols & Numbers
| A
| B
| C
| D
| E
| F
| G
| H
| I
| J
| K
| L
| M
| N
| O
| P
| Q
| R
| S
| T
| U
| V
| W
| X
| Y
| Z
Index: P
- P command (sed): 6.1.3. Multiline Print
 
  
  
  - with N and D commands: 6.1.3. Multiline Print
 
  
 
- p flag: 5.3. Substitution
 
  - 5.3. Substitution
 
 
- parameters, function: 9.3. Writing Your Own Functions
 
  - 9.3. Writing Your Own Functions
 
 
- parameters, script: 7.10. Passing Parameters Into a Script
 
- parentheses ( ): 2.2.1. Scripting
 
  - 3.2. A Line-Up of Characters
 
  - 3.2.10. Grouping Operations
 
  
  
  - with replacing text: 5.3.1. Replacement Metacharacters
 
  
 
- parsing: 2.1. Awk, by Sed and Grep, out of Ed
 
  
  
  - referencing fields: 2.4.1. Running awk
 
    - 7.5.1. Referencing and Separating Fields
 
  
 
  
  
  
  - strings into array elements: 8.4.4. Using split( ) to Create Arrays
 
    - 11.2.1.2. Obtaining individual characters
 
  
 
  
 
- pattern addressing: 2.1. Awk, by Sed and Grep, out of Ed
 
  -  A.2.1. Pattern Addressing
 
 
- pattern matching: 1.3. A Pattern-Matching Programming Language
 
  - 1.4. Four Hurdles to Mastering sed and awk
 
  - 2.2.1. Scripting
 
  
  
  - in awk: 7.4. Pattern Matching
 
  
  
  
  - closure: 3.2.5. Repeated Occurrences of a Character
 
  
  
  
  - extent of match: 3.2.12.1. The extent of the match
 
  
  
  
  - fixed strings: 3.2.3. Writing Regular Expressions
 
  
  
  
  - metacharacters for (see metacharacters)
 
  
  
  
  - over multiple lines: 3.2.7.1. Phrases
 
  
  
  
  - phrases: 3.2.7.1. Phrases
 
  
  
  
  - at start/end of words: 3.2.11. What's the Word? Part II
 
  
 
- pattern space: 4.1.1. The Pattern Space
 
  - 6.3. Hold That Line
 
  - (see also hold space)
 
  
  
  - deleting contents of (see d command (sed))
 
  
  
  
  - displaying (see l command (sed))
 
  
  
  
  - inputing file into (see reading from files)
 
  
  
  
  - insert and append commands and: 5.5. Append, Insert, and Change
 
  
  
  
  - multiline: 6.1. Multiline Pattern Space
 
  
 
- patterns: 2.1. Awk, by Sed and Grep, out of Ed
 
  - 2.2.1. Scripting
 
  -  B.2.3. Patterns
 
 
- PCs: 0.. DOS Versions
 
- percent sign (%)
 
  
  
  - for format specifications: 7.9. Formatted Printing
 
  
  
  
  - modulo operator: 7.6. Expressions
 
  
  
  
  - %= (assignment) operator: 7.6. Expressions
 
  
 
- phonebill script (example): 13.2. phonebill—Track Phone Usage
 
- phrase script (example): 6.5. To Join a Phrase
 
- phrases: 3.2.7.1. Phrases
 
- pipelined edits: 4.4.4. Edits To Go
 
- pipes
 
  
  
  - closing: 10.2. The close( ) Function
 
  
  
  
  - directing output to: 10.5.1. Directing Output to a Pipe
 
  
  
  
  - limitations on: 10.8. Limitations
 
  
  
  
  - reading input from: 10.1.3. Reading Input from a Pipe
 
  
 
- plpr script (example): 13.8. plpr—lpr Preprocessor
 
- plus (+)
 
  
  
  - addition operator: 7.6. Expressions
 
  
  
  
  - metacharacter: 7.4. Pattern Matching
 
  
  
  
  - += (assignment) operator: 7.6. Expressions
 
  
  
  
  - ++ (increment) operator: 7.6. Expressions
 
    - 7.6. Expressions
 
  
 
  
 
- positional metacharacters: 3.2.7. Positional Metacharacters
 
- POSIX
 
  
  
  - awk (see awk)
 
  
  
  
  - character class additions: 3.2.4.2. Excluding a class of characters
 
    -  B.2.4. Regular Expressions
 
  
 
  
  
  
  - character classes standard: 3.2.4.3. POSIX character class additions
 
  
  
  
  - option conbinations, standard for: 2.3.2.3. Mixing options (POSIX)
 
  
  
  
  - regular expressions standard: 3.2.4.3. POSIX character class additions
 
  
  
  
  - standard for labels: 6.4. Advanced Flow Control Commands
 
  
 
- --posix option (gawk): 11.2.3.1. Command line options
 
- postfix operators: 7.6. Expressions
 
- precedence, operation: 3.1. That's an Expression
 
  -  B.2.5.6. Operators
 
 
- precision modifier: 7.9. Formatted Printing
 
- prefix operators: 7.6. Expressions
 
- print command (sed) (see p command; P command)
 
- print statement (awk): 2.1. Awk, by Sed and Grep, out of Ed
 
  - 7.2. Hello, World
 
  - 10.5. Directing Output to Files and Pipes
 
 
- printerr( ): 11.2.1.4. Special filenames
 
  - 12.3.4. A Function for Reporting Errors
 
 
- printf statement: 7.9. Formatted Printing
 
  - 10.5. Directing Output to Files and Pipes
 
 
- printing
 
  
  
  - formatting output (awk): 7.9. Formatted Printing
 
  
  
  
  - line addresses with =: 5.9. Print Line Number
 
  
 
- procedures: 2.2.1. Scripting
 
  - 2.4.1. Running awk
 
 
- PROCINFO array (gawk): 11.2.3.7. Additional special files
 
- programming
 
  
  
  - awk, model for: 7.3. Awk's Programming Model
 
  
  
  
  - sed, tips for: 4.5. Getting to the PromiSed Land
 
  
 
- prompts: 2.1. Awk, by Sed and Grep, out of Ed
 
Symbols & Numbers
| A
| B
| C
| D
| E
| F
| G
| H
| I
| J
| K
| L
| M
| N
| O
| P
| Q
| R
| S
| T
| U
| V
| W
| X
| Y
| Z
Copyright © 2003
O'Reilly & Associates, Inc.
All Rights Reserved.