home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: getline Chapter 11
The Awk Scripting Language
Next: Reference: if
 

gsub



gsub(



r,s,t



)

Globally substitute s for each match of the regular expression r in the string t . Return the number of substitutions. If t is not supplied, defaults to $0. {N}


Previous: Reference: getline UNIX in a Nutshell: System V Edition Next: Reference: if
Reference: getline Book Index Reference: if

The UNIX CD Bookshelf Navigation The UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System