M
moonhkt
Hi All
In kshell, how to past argument to perl ?
In kshell, I have Funciton PROECSS(), how to pass string1 and string2
to perl ?
PROCESS ()
{
S1="ABC"
S2="testing"
perl -ni -e -v 1' $_ =~ s/ABC/testing/;
{
print $_ ;
}
' $FN
}
moonhkt
In kshell, how to past argument to perl ?
In kshell, I have Funciton PROECSS(), how to pass string1 and string2
to perl ?
PROCESS ()
{
S1="ABC"
S2="testing"
perl -ni -e -v 1' $_ =~ s/ABC/testing/;
{
print $_ ;
}
' $FN
}
moonhkt