[Perl-unix-users] Need help for a regular expression

2010-02-26 Thread Walter . Laub
Hello, I have to analize a text document and want to get all lines like: >< # (where F is a floating point number between the two characters >< ) but only, if all four floating numbers are identical! Example for a text: text>text5.35.35.35.3< >4.23.04.24.2< Here, o

[Perl-unix-users] Need help for regular expression problem

2009-12-08 Thread Walter . Laub
Hello, I have the following strings: TEST1=/bla/\${var1}/bla/${var2}a${var3}/bla TEST2=/bla/\${var1}/bla/${var2}${var3}/bla I want to transform them: TEST1=/bla/\$ENV{var1}/bla/$ENV{var2}a$ENV{var3}/bla TEST2=/bla/\$ENV{var1}/bla/$ENV{var2}$ENV{var3}/bla The rule: substitute all $var to $ENV{var

[Perl-unix-users] How to execute a shell skript from perl in local context

2005-11-23 Thread Walter . Laub
system("script") is not my solution, because the script is executed in a subshell, and his environment variables are lost after return to perl___ Perl-Unix-Users mailing list Perl-Unix-Users@listserv.ActiveState.com To unsubscribe: http://listserv.Activ