(QENG-1596) fixed sed commands on solaris