For safety across different systems, avoid using "sed -i".