Operating System - HP-UX
1753859 Members
7282 Online
108809 Solutions
New Discussion

how to use the patch command?

 
SOLVED
Go to solution
jonesliu
Advisor

how to use the patch command?

I have one HP server with HP unix 11.31 installed.

I want to update the software for some software error by the patch commnad.

 

 

The *.diff is supplied by the software developer.

I run the diff file by the command:

patch -p1 < wx*.diff

 

but the error occur:

I can't seem to find a patch in there anywhere

 

The file supplier insist the diff file is OK. I have no idea how to fix this issue.

If is it possible the command error?

 

3 REPLIES 3
Dennis Handly
Acclaimed Contributor
Solution

Re: how to use the patch command?

Was a GNU tool used to make that patch?

If so, you probably have to download the GNU patch:

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/patch-2.7.1/

jonesliu
Advisor

Re: how to use the patch command?

Thanks , it works.

Dennis Handly
Acclaimed Contributor

Re: how to use the patch command?

>Thanks, it works.

 

If you're happy with the answers, please click on on the Kudos star for each helpful answer.