ENVIRONMENT
- PATCH_GET
- This specifies whether patch gets missing or read-only files from RCS, ClearCase, Perforce, or SCCS by default; see the -g or --get option.
- POSIXLY_CORRECT
- If set, patch conforms more strictly to the POSIX standard by default: see the --posix option.
- QUOTING_STYLE
- Default value of the --quoting-style option.
- SIMPLE_BACKUP_SUFFIX
- Extension to use for simple backup file names instead of .orig.
- TMPDIR, TMP, TEMP
- Directory to put temporary files in; patch uses the first environment variable in this list that is set. If none are set, the default is system-dependent; it is normally /tmp on Unix hosts.
- VERSION_CONTROL or PATCH_VERSION_CONTROL
- Selects version control style; see the -v or --version-control option.
FILES
- $TMPDIR/p*
- temporary files
- /dev/tty
- controlling terminal; used to get answers to questions asked of the user
SEE ALSO
diff(1), ed(1), merge(1).
Marshall T. Rose and Einar A. Stefferud, Proposed Standard for Message Encapsulation, Internet RFC 934 <https://datatracker.ietf.org/doc/html/rfc934> (1985-01).