aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/sed.c
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2019-12-20 10:37:42 -0800
committerRob Landley <rob@landley.net>2019-12-20 13:19:27 -0600
commit4c9b771fbe177710788273f792a220b756e7cad7 (patch)
tree0aa2d72d26101dab2af61c3de3e1a7a56006ebf0 /toys/posix/sed.c
parentd8afb6cb4d21dc00b8ef95f00663f32c65807f22 (diff)
downloadtoybox-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/posix/sed.c')
0 files changed, 0 insertions, 0 deletions