Before editing a file, copy the file, appending the exten<AD>
       sion  you  have  chosen to the filename.  I.e. if you were
       going to edit somefile.cpp, copy it  to  somefile.cpp.save
       before  editing  it.   Then  edit  the  first  copy (some<AD>
       file.cpp).

       After editing all the files you need to edit in this fash<AD>
       ion, enter the directory one level above where your source
       code resides, and then type
           $ gendiff somedirectory .orig > mydiff-orig.patch


I just read the gendiff manpage part of which is above. It says:

edit somefile.cpp, copy it  to  somefile.cpp.save

Then below at the bottom says:
           $ gendiff somedirectory .orig > mydiff-orig.patch


Considering the example in the upper paragraph, shouldn't the
commandline example read:

$ gendiff somedirectory .save > mydiff-orig.patch
                        ^^^^^

Or am I misunderstanding this?  Looks like a doc inconsistency to
me.  Bugzilla?  ;o)


-- 
Mike A. Harris                                     Linux advocate     
Computer Consultant                                  GNU advocate  
Capslock Consulting                          Open Source advocate

       Try out Red Hat Linux today:  http://www.redhat.com
           ftp://ftp.redhat.com/pub/redhat/redhat-6.2/




_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to