
rovf
Veteran
Sep 15, 2011, 4:22 AM
Post #6 of 7
(2859 views)
|
Re: [venhart] Perl find and replace
[In reply to]
|
Can't Post
|
|
Again, then I simply would not have environment variable substitution taking place. In your case, it would be
perl -i -npe 's#RLM_LICENSE.*#RLM_LICENSE=$TEAM_TOP/licenses/abc.demo.lic#;' environment.properties instead of
perl -i -npe "s#RLM_LICENSE.*#RLM_LICENSE=$TEAM_TOP/licenses/abc.demo.lic#;" environment.properties So, the problem is with shell syntax, not with Perl code...
|