2 ms·
Missing semicolon. sed -n 's/old/new/;w file.tmp' file Unlike BSD and GNU sed, it appears that Plan9 sed will append to instead of overwite file.tmp It als
by 1vuio0pswjnm7 5y ago
Missing semicolon.
sed -n 's/old/new/;w file.tmp' file
Unlike BSD and GNU sed, it appears that Plan9 sed will append to instead of overwite file.tmp
It also requires a space after the w command.