I get these error messages when launching bash or zsh in standard Terminal.app or iTerm2
sed: 1: "\#^system_type=# { s#^s ...": extra characters at the end of p command
sed: 1: "\#^system_type=# { s#^s ...": extra characters at the end of p command
sed: 1: "\#^system_name=# { s#^s ...": extra characters at the end of p command
sed: 1: "\#^system_name=# { s#^s ...": extra characters at the end of p command
sed: 1: "\#^system_name_lowercas ...": extra characters at the end of p command
sed: 1: "\#^system_name_lowercas ...": extra characters at the end of p command
sed: 1: "\#^system_version=# { s ...": extra characters at the end of p command
sed: 1: "\#^system_version=# { s ...": extra characters at the end of p command
sed: 1: "\#^system_arch=# { s#^s ...": extra characters at the end of p command
sed: 1: "\#^system_arch=# { s#^s ...": extra characters at the end of p command
How can I fix it?
/etc/profile
. Have you changed that file? Did you try thegrep
command from my answer?/etc/profile
and~/.profile
and I haven't changed these files recently.grep
doesn't give any results either.