Reference: close
Author: Daniel Gilly & the Staff of O'Reilly & Associates
Date: 1998-08-06T22:00:23Z

#

| Chapter 11 The Awk Scripting Language |

## 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}

Reference: break |  | Reference: continue