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: break Chapter 11
The Awk Scripting Language
Next: Reference: continue
 

close



close(



filename-expr



)




close(



command-expr



)

In most implementations of awk, you can only have ten files open simultaneously and one pipe. Therefore, nawk provides a close statement that allows you to close a file or a pipe. It takes as an argument the same expression that opened the pipe or file. {N}


Previous: Reference: break UNIX in a Nutshell: System V Edition Next: Reference: continue
Reference: break Book Index Reference: continue

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