[ns] How to use PATCH command in ns2?
wei_yutao at hotmail.com
Mon Jun 11 00:41:09 PDT 2007
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:
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.
CCMIP, Shandong University, Jinan, Shandong Province, P.R. China
Í¨¹ý Live.com ²é¿´×ÊÑ¶¡¢ÓéÀÖÐÅÏ¢ºÍÄú¹ØÐÄµÄÆäËûÐÅÏ¢£¡
More information about the Ns-users