i think i finally found a good way to post from the cli.
google blogger post --title 'blog post title' --tags 'tag1,tag2' $'multiline content...'
the $ in front of the hard (single) quote lets bash escape single quotes inside that last string, but nothing else. so i can put all kinds of crazy chars in my multiline post, including a backslash-escaped single quote, with impunity. only problem is editing a previous line.... well, now i have an excuse for leaving the typos in.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment