make note editing scriptable, by allowing note content to be piped to stdin