From bc07865a504c291b9c88e41b3481ee6b44334b4d Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sat, 15 Dec 2007 21:47:25 -0600 Subject: Start of "patch" support. Writes to stdout at the moment. --- toys/Config.in | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'toys/Config.in') diff --git a/toys/Config.in b/toys/Config.in index 8f2cf6c5..3d1b168d 100644 --- a/toys/Config.in +++ b/toys/Config.in @@ -273,6 +273,19 @@ config ONEIT own session. Then oneit reaps zombies until the child exits, at which point it reboots (or with -p, powers off) the system. +config PATCH + bool "patch" + default n + help + usage: patch [-i file] [-p depth] [-Ru] + + Apply a unified diff to one or more files. + + -i Input file (defaults=stdin) + -p number of '/' to strip from start of file paths (default=all) + -R Reverse patch. + -u Ignored (only handles "unified" diffs) + config PWD bool "pwd" default y -- cgit v1.2.3