Command: patch - patches up a file from the original and a diff Syntax: patch [-NRbcdeflnop] [-Fn] [-D label] [file [difflist]] Flags: -D Mark changes with #ifdef...#endif next arg gives label -F Sets the maximum fuzz factor to n -N Ignore patches that are reversed or already applied -R Reverse the patches -b Next argument is backup extension, instead of using a tilde ( ) -c Interpret the patch file as a context diff -d Cd to the next arg (assumed a dir) before doing anything -e Interpret the patch file as an ed script -f Forces patch to do its work without asking any questions -l Do matching loosely (e.g., all white space is equivalent) -n Interpret the patch file as a normal diff -o Next argument is the output file name -p Sets the pathname strip count Examples: patch file difflist # Fix up file patch