Wednesday, January 06, 2016

MacOSX Sed: extra characters at the end of

if your sed is throwing something like extra characters at the end of p command


then do

sed -i '' 'regex' filename

Remember  to add the '' before regex.

No comments: