Results 1 to 2 of 2
Hi,
I am using Mandriva and i have a problem with "patch".
I would like to modify the content of 2 files : file1 and file2.
that are my steps:
...
- 06-20-2008 #1Just Joined!
- Join Date
- May 2008
- Posts
- 2
how to use a "patch" ..
Hi,
I am using Mandriva and i have a problem with "patch".
I would like to modify the content of 2 files : file1 and file2.
that are my steps:
first :
diff file1 file2 > file.patch
cat file.patch #it puts the differences between this 2 files ont the screen
patch < file.patch
But I always receive an error message :
bash: patch: command not found
could you please help me?
thank you
- 06-20-2008 #2Linux Guru
- Join Date
- Nov 2007
- Location
- Córdoba (Spain)
- Posts
- 1,513
The "patch" tool is usually installed on almost all distros, but it seems that it's not on your system. Try installing it with urpmi.


Reply With Quote