Hi,
Thanks to all you folks (KevinADC, hansini, pludi) for giving me direction.
Iam not using any extensive
perl stuff. Only basics or may be small part of
perl.(Iam yet to go in for big programs, though!!)
Below is the
perl part iam using on unix. I have put these contents in a shell script and running it. This saves my time (by opening in
vi, editing, saving).
I plan to use the same on windows too.(Just editing a file contents).
The file contents in the shell script on unix (just the
perl part) iam giving below:
perl -pi -e '
s|hubURL=http://PSEMHUB:80/PSEMHUB/hub|hubURL=http://ffasuv.relix.com:7001/PSEMHUB/hub|g;
s|agentport=5283|agentport=9940|g;
s|pinginterval=10000|pinginterval=60000|g;
s|unixdrivestocrawl=/usr/home|unixdrivestocrawl=/u/ds4e/relix|g' config.prop
I shall update how it works on windows after i download and install
perl on windows. I hope i will create a batch script and put in these contents and check the same.