z/OS UNIX System Services User's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Controlling redirection

z/OS UNIX System Services User's Guide
SA23-2279-00

The command:
set -o noclobber
indicates that you do not want the > redirection operator to overwrite existing files. When this option is on and you specify the construct >file, the redirection works only if file does not exist. If you have this option on and you really do want to redirect output into an existing file, you must use >|file (with an "or" bar after the >) to indicate output redirection. See "Using a wildcard character to specify file names" for more information.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014