SED command doesn't works fine on AIX
I've been developed a script shell on Linux 7.2 enviroment.
This script uses SED to "parse" a string returned by db2 call command.
DB2_STATUS=`db2 "call dbo.sp_test(?,?,?)"`
RESULT_STATUS=`echo $DB2_STATUS | sed -f myregexp.rxp`
myregexp.rxp file contents:
In Linux, or Windows CygWin, this shell runs fine.
When I put this shell on AIX enviroment, I received a strange message:
"cannot parse.tion" or anything like that.
Someone could please help me to put this shell works properly?