Index
Symbols
| 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: G
- :g (global replacement) command (ex): Learning the vi Editor, 6.2. Context-Sensitive Replacement
 
  - collecting lines with (example): Learning the vi Editor, 6.5.4. Collecting Lines
  
 
  
  - pattern-matching examples: Learning the vi Editor, 6.4. Pattern-Matching Examples 
  
 
  
  POSIX bracket expressions: Learning the vi Editor, 6.3.2. POSIX Bracket Expressions
  
  
  repeating commands with (example): Learning the vi Editor, 6.5.3. Using :g to Repeat a Command 
  
  
  replacement-string metacharacters: Learning the vi Editor, 6.3.3. Metacharacters Used in Replacement Strings 
  
  
  search-pattern metacharacters: Learning the vi Editor, 6.3.1. Metacharacters Used in Search Patterns 
  
  
  substitution tricks: Learning the vi Editor, 6.3.4. More Substitution Tricks
  
  
g (global) command (ex): Learning the vi Editor, 5.2.6. Global Searches 
G (go to) command: Learning the vi Editor, 3.4.1. The G (Go To) Command
g command: UNIX Power Tools, 11.7. History Substitutions 
g command (ed): sed & awk, 2.1. Awk, by Sed and Grep, out of Ed
g command (sed): UNIX in a Nutshell, Chapter 10, Reference: g
g flag
  - sed & awk, 2.1. Awk, by Sed and Grep, out of Ed
  
- sed & awk, 5.3. Substitution
  
g option (:s command): Learning the vi Editor, 6. Global Replacement
-G option (elvis): Learning the vi Editor, 10.2. Important Command-Line Arguments
-g option (vim): Learning the vi Editor, 11.2. Important Command-Line Arguments
gawk (GNU awk)
  - UNIX in a Nutshell, 11.2. Command-Line Syntax
  
- UNIX Power Tools, 33.11. Quick Reference: awk 
  
- UNIX Power Tools, 50.12. Common UNIX Error Messages 
  
- UNIX Power Tools, 52.4. Quick Descriptions of What's on the Disc 
  
- UNIX Power Tools, 52.5.3.4. Installing a Single Program 
  
- sed & awk, 10.8. Limitations
  
- sed & awk, 11.2.3. GNU awk (gawk)
  
- built-in functions: sed & awk, 11.2.3.9. Additional functions
  
        
  
  built-in variables: sed & awk, 11.2.3.8. Additional variables
  
  
  multiple files and: sed & awk, 10.5.2. Working with Multiple Files
  
  
version history: UNIX Power Tools, 33.12. Versions of awk 
  
  gcc C compiler: UNIX Power Tools, 52.8.1.1. Missing Programs 
gcore command: UNIX in a Nutshell, Chapter 2, Reference: gcore
gencat command: UNIX in a Nutshell, Chapter 2, Reference: gencat
generating filenames: UNIX in a Nutshell, Chapter 2, Reference: basename
generating random numbers: sed & awk, 9.1.3. Random Number Generation
genmsg command: UNIX in a Nutshell, Chapter 2, Reference: genmsg
gensub function (gawk): UNIX in a Nutshell, Chapter 11, Reference: gensub
gensub(): sed & awk, 11.2.3.10. A general substitution function
gent script: sed & awk, 13.7. gent - Get a termcap Entry
get command (ftp): Learning the UNIX Operating System, 4.4.2.4. ftp
get command (SCCS)
  - UNIX in a Nutshell, Chapter 18, Reference: get
  
- UNIX in a Nutshell, 18.3.2. Retrieving a File
  
- UNIX Power Tools, 20.13. SCCS Basics 
   
getconf command
  - UNIX in a Nutshell, Chapter 2, Reference: getconf
  
- UNIX in a Nutshell, Chapter 4, Reference: getconf
  
getline command (awk): UNIX in a Nutshell, Chapter 11, Reference: getline
getline function
  - sed & awk, 10.4. A Menu-Based Command Generator
  
- sed & awk, 10.1. The getline Function
  
- sed & awk, 11.1.9. The getline Function
   
getmac script: UNIX Power Tools, 52.4. Quick Descriptions of What's on the Disc 
  getopt command
  - Learning the Korn Shell, Summary of Korn Shell Features
  
- Learning the Korn Shell, 6.1.3. getopts
  
- Learning the Korn Shell, A.1. The Bourne Shell
- UNIX Power Tools, 44.16. Handling Command-Line Arguments with a for Loop 
  
- UNIX Power Tools, 44.18. Standard Command-Line Parsing 
  
- UNIX Power Tools, 52.4. Quick Descriptions of What's on the Disc 
  
- examples: UNIX Power Tools, 44.18. Standard Command-Line Parsing 
  
       
  
  parsing output: UNIX Power Tools, 44.18. Standard Command-Line Parsing 
  
  
getopts
  - Learning the Korn Shell, 6.1.3. getopts
  
- Learning the Korn Shell, 6.2. Integer Variables and Arithmetic
  
- UNIX in a Nutshell, Chapter 4, Reference: getopts
  
- UNIX Power Tools, 44.16. Handling Command-Line Arguments with a for Loop 
  
- advantages
     
- UNIX Power Tools, 44.17. Handling Arguments with while and shift 
  
- Learning the Korn Shell, A.1. The Bourne Shell
  
- A HREF="../ksh/ch06_01.htm#KSH-CH-6-SECT-1.3">Learning the Korn Shell, 6.1.3. getopts
  
  
   
  arguments: Learning the Korn Shell, 6.1.3. getopts
  
  
  error messages: Learning the Korn Shell, 6.1.3. getopts
  
  
  exit status: Learning the Korn Shell, 6.1.3. getopts
  
  
  OPTARG variable: Learning the Korn Shell, 6.1.3. getopts
  
  
  OPTIND variable: Learning the Korn Shell, 6.1.3. getopts
  
  
  summary of functionality: Learning the Korn Shell, 6.1.3. getopts
  
  
  suppressing error messages: Learning the Korn Shell, 6.1.3. getopts
  
  
  
gettext command: UNIX in a Nutshell, Chapter 2, Reference: gettext
gettxt command: UNIX in a Nutshell, Chapter 2, Reference: gettxt
getty program: UNIX Power Tools, 38.2. fork and exec 
Gisin, Eric: Learning the Korn Shell, A.4. pdksh
glass ttys: UNIX Power Tools, 41.2.1. How We Made It This Far (Back?) 
glimpse script
  - UNIX Power Tools, 27.8. glimpse and agrep 
  
- UNIX Power Tools, 52.4. Quick Descriptions of What's on the Disc 
  
glob command: UNIX in a Nutshell, Chapter 5, Reference: glob
global
  - addressing: sed & awk, 4.2. A Global Perspective on Addressing
  
 
  
  variables: sed & awk, 9.3. Writing Your Own Functions
  
  
global command (ex)
  - UNIX in a Nutshell, Chapter 9, Reference: global
  
- UNIX Power Tools, 33.4. Useful ex Commands 
  
global replacement
  - (see also :g command)
  
- Learning the vi Editor, 6. Global Replacement
  
- confirming substitutions: Learning the vi Editor, 6.1. Confirming Substitutions 
  
   
  
  context sensitivity: Learning the vi Editor, 6.2. Context-Sensitive Replacement
  
  
  examples of: Learning the vi Editor, 6.4. Pattern-Matching Examples 
  
  
  global pattern-matching rules: Learning the vi Editor, 6.3. Pattern-Matching Rules 
  
  
  pattern-matching rules
    - POSIX bracket expressions: Learning the vi Editor, 6.3.2. POSIX Bracket Expressions
    
 
    
    replacement-string metacharacters: Learning the vi Editor, 6.3.3. Metacharacters Used in Replacement Strings 
    
    
    search-pattern metacharacters: Learning the vi Editor, 6.3.1. Metacharacters Used in Search Patterns 
    
    
    substitution tricks: Learning the vi Editor, 6.3.4. More Substitution Tricks
    
    
  
global searches (ex): Learning the vi Editor, 5.2.6. Global Searches 
glossary, converting to troff (example): Learning the vi Editor, 7.3.4. Complex Mapping Example 
  
glossary program (example): sed & awk, 8.4.3. A Glossary Lookup Script
gnroff program
  - UNIX Power Tools, 43.17. Don't Have nroff?  Try gnroff or awf 
  
- UNIX Power Tools, 52.4. Quick Descriptions of What's on the Disc 
  
GNU: Learning the Korn Shell, A.5. bash
GNU awk (see gawkawk utility)
GNU Emacs: (see Emacs editor)
GNU fileutils: UNIX Power Tools, 52.4. Quick Descriptions of What's on the Disc 
GNU make utility: UNIX Power Tools, 52.8.1.1. Missing Programs 
GNU project: sed & awk, Availability of sed and awk
GNU sed, error messages: sed & awk, 2.3.1.1. Command garbled
goto command: UNIX in a Nutshell, Chapter 5, Reference: goto
gprof command: UNIX in a Nutshell, Chapter 2, Reference: gprof
grabchars
- UNIX Power Tools, 52.4. Quick Descriptions of What's on the Disc 
  
- UNIX Power Tools, 44.13. read: Reading from the Keyboard 
  
- UNIX Power Tools, 45.32. A Better read Command: grabchars 
  
- -b option: UNIX Power Tools, 45.32. A Better read Command: grabchars 
  
    
  
  -d option: UNIX Power Tools, 45.32. A Better read Command: grabchars 
  
  
  -t option: UNIX Power Tools, 45.32. A Better read Command: grabchars 
  
  
examples: UNIX Power Tools, 45.32. A Better read Command: grabchars 
  
  graph character class: UNIX in a Nutshell, 4.2.2. Filename Metacharacters
graphical user interface (GUI)
  - Learning the Korn Shell, 1. Korn Shell Basics
  
- Learning the Korn Shell, A.3. wksh
  
graphical vim (gvim, gview)
  - Learning the vi Editor, 11.2. Important Command-Line Arguments
  
- Learning the vi Editor, 11.4.2. Initialization for the GUI
  
graphics
  - conversion programs: UNIX Power Tools, 43.25. The Portable Bitmap Package 
  
 
  
  formatting in nroff/troff: UNIX in a Nutshell, 17.3. pic
  
  
  pbm (portable bitmap): UNIX Power Tools, 43.25. The Portable Bitmap Package 
  
  
  pbm (portable bitmap) format: UNIX Power Tools, 43.25. The Portable Bitmap Package 
  
  
  pgm (graymap) format: UNIX Power Tools, 43.25. The Portable Bitmap Package 
  
  
  pnm format: UNIX Power Tools, 43.25. The Portable Bitmap Package 
  
  
  ppm (pixmap) format: UNIX Power Tools, 43.25. The Portable Bitmap Package 
  
  
Graphics script: UNIX Power Tools, 52.4. Quick Descriptions of What's on the Disc 
greater than sign (>)
  - for redirection
 
    - sed & awk, 2.3.2.1. Saving output
    
- sed & awk, 4.3. Testing and Saving Output
    
- sed & awk, 10.5. Directing Output to Files and Pipes
  
   
  >= (greater than or equal to) operator: sed & awk, 7.8. Relational and Boolean Operators
  
  
  relational operator: sed & awk, 7.8. Relational and Boolean Operators
  
  
with for loop: UNIX Power Tools, 9.12. The Bourne Shell for Loop 
  
  Greek characters (eqn preprocessor): UNIX in a Nutshell, 17.2.5. Greek Characters
grep command
  - (see also agrep script; egrep script; fgrep script; hgrep script)
  
- Learning the Korn Shell, Summary of Korn Shell Features
  
- Learning the Korn Shell, 1.7.1. Standard I/O
  
- Learning the Korn Shell, 4.3.2. Patterns and Regular Expressions
  
- Learning the Korn Shell, 4.3.2.1. Regular expression basics
  
- Learning the Korn Shell, 4.3.2.2. Korn shell versus awk/egrep regular expressions
  
- Learning the Korn Shell, 4.4. Command Substitution
  
- Learning the Korn Shell, 5.1.2. Combinations of Exit Statuses
  
- Learning the Korn Shell, 5.2. for
  
- Learning the Korn Shell, 7.2.2. read
  
- Learning the Korn Shell, 7.2.2.3. Code blocks
  
- Learning the Korn Shell, 8.2.2. Suspending a Job
  
- Learning the Korn Shell, 10.1. Installing the Korn Shell as the Standard Shell
  
- Learning the Korn Shell, 10.3.2. A System Break-in Scenario
    
- Learning the UNIX Operating System, 5.2.1. grep
  
- UNIX in a Nutshell, Chapter 2, Reference: grep
  
- UNIX Power Tools, 9.16. Command Substitution 
  
- UNIX Power Tools, 27.1. Different Versions of grep 
  
- UNIX Power Tools, 27.2. Searching for Text with grep 
  
- UNIX Power Tools, 27.8. glimpse and agrep 
  
- UNIX Power Tools, 27.9. New greps Are Much Faster 
  
- UNIX Power Tools, 52.4. Quick Descriptions of What's on the Disc 
  
- addup script using: UNIX Power Tools, 49.7. Total a Column with addup 
  
                       
  
  -c option
    - UNIX Power Tools, 15.8. Getting a List of Non-Matching Files with grep -c 
    
- UNIX Power Tools, 49.7. Total a Column with addup 
  
  
  compound searches: UNIX Power Tools, 27.14. Compound Searches 
  
  
  customizing prompt character: UNIX Power Tools, 1.9. Which Shell Am I Running? 
  
  
  customizing with perl: UNIX Power Tools, 27.12. Make Custom grep Commands (etc.) with perl 
  
  
  directory trees and: UNIX Power Tools, 17.20. grepping a Directory Tree (and a Gotcha) 
  
  
  example of: UNIX Power Tools, 1.4. Using Pipes to Create a New Tool 
  
  
  examples: UNIX Power Tools, 49.7. Total a Column with addup 
  
  
  -f option: UNIX Power Tools, 44.17. Handling Arguments with while and shift 
  
  
  file searches with
    - UNIX Power Tools, 9.24. Get File List by Editing Output of ls -l, grep, etc. 
    
- UNIX Power Tools, 9.24.2. Search for Text with grep 
  
  
  -i option: UNIX Power Tools, 17.21. lookfor: Which File Has that Word? 
  
  
  -i (case insensitive): Learning the Korn Shell, 4.4. Command Substitution
  
      -l option
    - Learning the Korn Shell, 4.4. Command Substitution
  
- UNIX Power Tools, 9.16. Command Substitution 
    
- UNIX Power Tools, 15.7. Getting a List of Matching Files with grep -l 
  
   
  multiline: UNIX Power Tools, 27.11. A Multiline Context grep Using sed 
  
  
  pattern-matching metacharacters: UNIX in a Nutshell, 6.2. Metacharacters, Listed by Unix Program
  
  
  older BSD version of: Learning the Korn Shell, 4.4. Command Substitution
  redirecting output: UNIX Power Tools, 45.20. Overview: Open Files and File Descriptors 
  
sed with
    - UNIX Power Tools, 27.11. A Multiline Context grep Using sed 
    
- UNIX Power Tools, 27.15. Narrowing a Search Quickly 
  
  
  -v option
    - UNIX Power Tools, 27.3. Finding Text That Doesn't Match 
    
- UNIX Power Tools, 45.5. A File That Shows Itself... and What #! Does 
    
- UNIX Power Tools, 51.4. Who's On? 
  
   
  -w option: UNIX Power Tools, 27.4. Finding a Pattern Only When It's a Word 
  
  
  with type-ahead feature: UNIX Power Tools, 9.19. For the Impatient: Type-Ahead 
  
  
grep utility
  - sed & awk, 2.1. Awk, by Sed and Grep, out of Ed
  
- sed & awk, 4.4.2. Making Changes Across a Set of Files
  
gres program: sed & awk, 3.2.11. What's the Word? Part II
groff program
- UNIX Power Tools, 52.4. Quick Descriptions of What's on the Disc 
- UNIX Power Tools, 43.16. groff 
  
group ID (GID): UNIX Power Tools, 38.3. Managing Processes: Overall Concepts 
grouping commands (sh): UNIX Power Tools, 13.8. Using {list} to Group Bourne Shell Commands 
grouping operations: (see parentheses)
grouping sed commands
  - sed & awk, 4.2.1. Grouping Commands
  
- sed & awk, 5.1. About the Syntax of sed Commands
  
groups
  - (see also users)
  
- UNIX Power Tools, 17.16. Searching by Owner and Group 
  
- UNIX Power Tools, 22.2.2. Which Group is Which? 
  
- UNIX Power Tools, 22.13. Groups and Group Ownership 
  
- changing/specifying: UNIX Power Tools, 22.5. Group Permissions in a Directory with the setgid Bit 
  
     
  
  defined: UNIX Power Tools, 22.2.1. User, Group, and World 
  
  
  denying permission by: UNIX Power Tools, 22.14. Add Users to a Group to Deny Permission 
  
  
  displaying user membership: UNIX in a Nutshell, Chapter 2, Reference: groups
  
  
  file ownership for: UNIX in a Nutshell, Chapter 2, Reference: chgrp
  
  
  listing IDs for: UNIX in a Nutshell, Chapter 2, Reference: id
  
  
  newgrp command: UNIX Power Tools, 22.13. Groups and Group Ownership 
  
  
  searching by: UNIX Power Tools, 17.16. Searching by Owner and Group 
  
  
  (see SGID (set group ID) bit)
  
groups command
  - UNIX Power Tools, 52.4. Quick Descriptions of What's on the Disc 
- UNIX Power Tools, 22.13. Groups and Group Ownership 
  
- UNIX Power Tools, 22.15. Juggling Permissions 
- UNIX in a Nutshell, Chapter 2, Reference: groups
  
    
gsub command
- UNIX Power Tools, 33.11.7. Alphabetical Summary of Commands 
- UNIX in a Nutshell, Chapter 11, Reference: gsub
  
- sed & awk, 9.2. String Functions
  
- sed & awk, 9.2.3. Substitution Functions
  
- sed & awk, 11.2.3.10. A general substitution function
     
> (greater than sign)
  - with for loop: UNIX Power Tools, 9.12. The Bourne Shell for Loop 
  
 
  
:gui command (elvis): Learning the vi Editor, 10.6.3. The Toolbar
GUI interfaces for vi clones: Learning the vi Editor, 8.3. GUI Interfaces
  - elvis editor: Learning the vi Editor, 10.6. GUI Interfaces
  
 
    - display modes
 
      - Learning the vi Editor, 10.9.2. Syntax Highlighting
      
- Learning the vi Editor, 10.10.1. Display Modes
    
  
  
  vile editor: Learning the vi Editor, 12.6. GUI Interfaces
  
  
  vim editor: Learning the vi Editor, 11.6. GUI Interfaces
  
  
gunzip utility
  - UNIX in a Nutshell, Chapter 2, Reference: gunzip
 
UNIX Power Tools, 19.5. Using tar to Create and Unpack Archives 
  UNIX Power Tools, 19.7. Extracting Files from a Compressed Archive 
  UNIX Power Tools, 24.7. Compressing Files to Save Space 
  UNIX Power Tools, 52.4. Quick Descriptions of What's on the Disc 
gxcat command: UNIX Power Tools, 24.7. Compressing Files to Save Space 
.gz filename extension: UNIX Power Tools, 1.17. Filename Extensions 
gzcat script
  - UNIX in a Nutshell, Chapter 2, Reference: gzcat
- UNIX Power Tools, 19.7. Extracting Files from a Compressed Archive 
  
- UNIX Power Tools, 52.4. Quick Descriptions of What's on the Disc 
  
- examples: UNIX Power Tools, 44.15.1. With the  $@"
  
    
  
  in Bourne shell scripts: UNIX Power Tools, 44.15.1. With the  $@"
  
  
gzip utility
  - UNIX in a Nutshell, Chapter 2, Reference: gzip
- UNIX Power Tools, 19.5. Using tar to Create and Unpack Archives 
  
- UNIX Power Tools, 24.6. Save Space with Tab Characters 
  
- UNIX Power Tools, 24.7. Compressing Files to Save Space 
  
- UNIX Power Tools, 52.4. Quick Descriptions of What's on the Disc 
  
- Learning the vi Editor, 8.9. A Look Ahead
      
gzipped file extension: UNIX Power Tools, 1.17. Filename Extensions 
"go" character: UNIX Power Tools, 41.2.4. Flow Control (We Hope) 
Symbols
| 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 © 2000
 O'Reilly & Associates, Inc.
All Rights Reserved.