Monday Apr 14, 2008

patch or gpatch on Solairs?

The patch command on Solaris seems is compatible with diff format patch:
$patch -p0 < a.patch
  Looks like a unified context diff.
File to patch:

The command is block and need you input patch file. So, I have to use gpatch, and gpatch work fine.

I google it and found, I am not the first one encounter this problem. Patching PHP on Solaris hosts (all patch utilities are not created equal!)

Could anyone know if I can use Solaris patch by add some options?
 

About

williamxue

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today