UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: substrChapter 11
The Awk Scripting Language
Next: Reference: tolower
 

system

system(command)

Function that executes the specified command and returns its status. The status of the command that is executed typically indicates its success (1), completion (0) or unexpected error (-1). The output of the command is not available for processing within the awk script. Use "command | getline" to read the output of the command into the script. {N}


Previous: Reference: substrUNIX in a Nutshell: System V EditionNext: Reference: tolower
Reference: substrBook IndexReference: tolower

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