diff options
author | Elliott Hughes <enh@google.com> | 2019-12-20 10:37:42 -0800 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2019-12-20 13:19:27 -0600 |
commit | 4c9b771fbe177710788273f792a220b756e7cad7 (patch) | |
tree | 0aa2d72d26101dab2af61c3de3e1a7a56006ebf0 /toys/other/readahead.c | |
parent | d8afb6cb4d21dc00b8ef95f00663f32c65807f22 (diff) | |
download | toybox-4c9b771fbe177710788273f792a220b756e7cad7.tar.gz |
patch: support [FILE [PATCH]] arguments.
POSIX only mentions -i/stdin, but GNU patch -- and Larry Wall's patch 1.3,
found via https://en.wikipedia.org/wiki/Patch_(Unix) -- also support
supplying the name of the file to patch and the name of the patch file
as optional arguments.
The AOSP build makes use of this syntax to patch snakeyaml to remove
references to java.beans.* stuff.
Diffstat (limited to 'toys/other/readahead.c')
0 files changed, 0 insertions, 0 deletions