Regarding Application of Patch - Unix

This is a discussion on Regarding Application of Patch - Unix ; Hi, I wanted to know if there is a method/command for automatic application of a patch file. Suppose I have a file test.c, and someone sends a patch for that file to me using diff -p, can I use some ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Regarding Application of Patch

  1. Regarding Application of Patch

    Hi,

    I wanted to know if there is a method/command for automatic
    application of a patch file.

    Suppose I have a file test.c, and someone sends a patch for that file
    to me using diff -p, can I use some command to automatically update
    the changes from the patch file to the original file (test.c)

    Thanks in advance.

    Regards
    Ashwin

  2. Re: Regarding Application of Patch

    In article
    ,
    MichaelCorleone <4shw1ns1nh4@gmail.com> wrote:

    > Hi,
    >
    > I wanted to know if there is a method/command for automatic
    > application of a patch file.


    man patch

    --
    Barry Margolin, barmar@alum.mit.edu
    Arlington, MA
    *** PLEASE post questions in newsgroups, not directly to me ***
    *** PLEASE don't copy me on replies, I'll read them in the group ***

+ Reply to Thread