I changed midnight.sh to post the contents of a file which is given as first argument, instead of from stdin. Run like "bash ./midnight.sh post.txt ". The file should contain: title, one blank line, body.
--form-string instead of -F to read the text as literal; I had some problems with semicolons read as field seperators in the posting form
Haven't gotten to the reply and thread options yet.
Write a reply
~zampano wrote (thread):
If I'm reading this right, it's also loading your login credentials from a local file?