Does sed -i work on AIX?
sed -i
If not, how can I edit a file \"in place\" on AIX?
#!/bin/ksh host_name=$1 perl -pi -e "s/#workerid#/$host_name/g" test.conf
Above will replace #workerid# to $host_name inside test.conf