2 Replies Latest reply: Apr 11, 2013 9:17 AM by putnik
MotherSpacer Level 1 Level 1 (5 points)

who know the code below:

[code]perl -00 -pe 's/\\\s*\n\s*//gs' myfile.reg | perl -ne '/"Battle.net gateways"=hex\(7\):(.*)$/ and do { $_=$1; s/,//g; print "$_\n"; }'[/code]


please tell me what's the meaning?


OK.this is a code to set the warcraft gateway. but I dont know the codes' real meaning, if some one know it , explain me


and in the code 'myfile.reg' is a file , where should I put it , it think this code dont not point the myfile.reg path.


infact i cant set the gateway use this code.because i  dont know the myfile.reg path and what's the real meaming////

iMac, OS X Mountain Lion (10.8.3)