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


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: gensub UNIX in a Nutshell: System V Edition Next: Reference: if
Reference: gensub Book Index Reference: 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