[ns] How to use PATCH command in ns2?

=?gb2312?B?zrrT2szO?= wei_yutao at hotmail.com
Mon Jun 11 00:41:09 PDT 2007


Hello all,
 
I want to install a patch for ns2. My ns version is ns-allinone-2.29.2.tar.gz, my  patch is ns2292-gcc410.patch.
My ns is in the directory /home/wyt/ns-allinone-2.29, the patch is in the directory /home/wyt. I want to ask: what command should I use in order to install the patch successfully?
 
I used the following commands but they did not work:
 
cd /home/wyt/ns-allinone-2.29
patch -p0 /home/wyt/ns2292-gcc410.patch
 
It seemed that the terminal stopped and I did not know what happened.
 
Can anybody tell me how to use the PATCH command.? I read the mannual and still could not understand it, especially what p0 and p1 means.
 
Thank you.
 
Yutao Wei 
CCMIP, Shandong University, Jinan, Shandong Province, P.R. China
_________________________________________________________________
ͨ¹ý Live.com ²é¿´×ÊѶ¡¢ÓéÀÖÐÅÏ¢ºÍÄú¹ØÐĵįäËûÐÅÏ¢£¡
http://www.live.com/getstarted.aspx



More information about the Ns-users mailing list