Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我用这个
$ rc = system("sed -e 's/Monyear/$Month//g' < $Script_Path/Mailcontent.txt.template > $Script_Path/Mailcontent.txt");
在邮件脚本中
我收到类似的错误
sed: -e expression #1, char 19: unknown option to `s'
你有/太多了。做这个:
/
s/Monyear/$Month/g