perl one-lines within a ksh script in aix environment not excute
I have a script to utilize the perl one liner to replace a ip address.
i am not a perl expert, only use it occasionally.
any one has an idea why it does not run as expect.
thanks in advance,
Anyway, if one-liner doesn't work, make it a non-one-liner and debug the usual way.
I am with Sergei ... unless this is a snippet of a much larger script (even then maybe should all be perl), I see no reason to split this between languages.
You say that the perl one liner part works fine at the command line? Please confirm that this means you have set the same variables within the shell and executed the one liner
the same way?
|All times are GMT -5. The time now is 08:22 PM.|