UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: gensubChapter 11
The awk Programming Language
Next: Reference: if
 

gsub

gsub(r, s [, t])

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


Previous: Reference: gensubUNIX in a Nutshell: System V EditionNext: Reference: if
Reference: gensubBook IndexReference: if

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