"sed -i" is specific to GNU sed and is not a posix standard option. The default sed command in Solaris is not GNU sed though it is possible to install the GNU-sed which includes /usr/bin/gsed
"sed -i" is specific to GNU sed and is not a posix standard option. The default sed command in Solaris is not GNU sed though it is possible to install the GNU-sed which includes /usr/bin/gsed