s_gaurav1091 has asked for the wisdom of the Perl Monks concerning the following question:
But I am getting follwing error$sdpType = "sdp2"; $version = "1.0.0.0"; system("rsh $sdpType perl -pi -e 's\/^(command\.package)\=(\\S+)\/\"\ +$1\=$version\"\/gei' $ENV{JBOSS_HOME}/install/version.properties");
The same thing works without the rsh, but when I am giving rsh it's throwing an error. Can anyone plz help as to what I should do.Thanx in advanceksh: 0403-057 Syntax error at line 1 : `(' is not expected.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: substituting a regular expression in a file
by chargrill (Parson) on Sep 06, 2006 at 13:05 UTC | |
by Fletch (Bishop) on Sep 06, 2006 at 13:13 UTC | |
|
Re: substituting a regular expression in a file
by Tanktalus (Canon) on Sep 06, 2006 at 16:45 UTC | |
by tye (Sage) on Sep 06, 2006 at 17:43 UTC | |
|
Re: substituting a regular expression in a file
by szabgab (Priest) on Oct 17, 2006 at 06:46 UTC |