Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Bash-oneliner: A collection of handy Bash one-liners and terminal tricks. Parent comment
sed -n 's/old/new/;w file.tmp' file
It also requires a space after the w command.
There are no comments on this comment yet.
It also requires a space after the w command.