system enabled verified low v1.0.0

patch

Apply diff patches to files

📋 Live Preview
patch -p {strip} -F {fuzz-lines} -l {ignore-whitespace} -c {context} -e {ed}
๐Ÿ“Ž strip ๐Ÿ“Ž fuzz-lines ๐Ÿ“Ž ignore-whitespace ๐Ÿ“Ž context ๐Ÿ“Ž ed
patch -p {strip} -F {fuzz-lines} -l {ignore-whitespace} -c {context} -e {ed}

Sandbox: execFile · Timeout: 30s

Capabilities

system.file.patch
system.file.search
system.file.process
system.file.copy
system.file.move
system.file.delete

Parameters

Name Type Required Default Description Aliases
strip integer No - Set the strip parameter -p, --strip
fuzz LINES string No - Set the fuzz LINES parameter -F, --fuzz LINES
ignore-whitespace string No - Set the ignore-whitespace parameter -l, --ignore-whitespace
context string No - Set the context parameter -c, --context
ed string No - Set the ed parameter -e, --ed
normal string No - Set the normal parameter -n, --normal
unified string No - Set the unified parameter -u, --unified
forward string No - Set the forward parameter -N, --forward
reverse string No - Set the reverse parameter -R, --reverse
input string No - Set the input parameter -i, --input
output file No - Set the output parameter -o, --output
reject-file file No - Set the reject-file parameter -r, --reject-file
ifdef string No - Set the ifdef parameter -D, -t, -e, --ifdef
merge string No - Set the merge parameter --merge
remove-empty-files string No - Set the remove-empty-files parameter -E, --remove-empty-files
set-utc string No - Set the set-utc parameter -Z, --set-utc
set-time string No - Set the set-time parameter -T, --set-time
quoting-style file No - output file names using quoting style WORD --quoting-style
backup string No - Set the backup parameter -b, --backup
backup-if-mismatch string No - Set the backup-if-mismatch parameter --backup-if-mismatch
no-backup-if-mismatch string No - Set the no-backup-if-mismatch parameter --no-backup-if-mismatch
version-control string No - STYLE is either 'simple', 'numbered', or 'existing' -V, --version-control
prefix string No - Set the prefix parameter -B, --prefix
basename-prefix string No - Set the basename-prefix parameter -Y, --basename-prefix
suffix string No - Set the suffix parameter -z, --suffix
get integer No - Set the get parameter -g, --get
batch string No - Set the batch parameter -t, -P, --batch
force string No - Set the force parameter -f, -t, -P, --force
quiet string No - Set the quiet parameter -s, --quiet, --silent
verbose string No - Set the verbose parameter --verbose
dry-run string No - --dry-run
posix string No - --posix
directory file No - -d, --directory
reject-format string No - --reject-format
binary string No - --binary
read-only string No - are read-only, 'warn' (default), or 'fail' -o, --read-only
version string No - -v, --version
help string No - --help

Examples

Display help message

patch --help

Documentation

patch โ€” Apply diff patches to files

Overview

patch is a command-line utility for apply diff patches to files.

Usage

patch -p {strip} -F {fuzz-lines} -l {ignore-whitespace} -c {context} -e {ed}

Related Tools

system-file-diff