Meta: how to get the url of your last post

Dec 30, 2018 23:51


This is a test: (The results will be posted in a comment)
### this prints out the URL of the last post you made today: wget -q -O - https://mdlbear.dreamwidth.org/$(date +%Y/%m/%d/) \ | grep 'class="entry-title"' | tail -1 \ | sed -E 's/^<[^>]*><[^>]*href="([^"]*)".*$/\1/'
[Crossposted from mdlbear.dreamwidth.org, where it has
comments. You can comment there with openID, but wouldn't you really rather be on Dreamwidth?]

blogging, bash, meta

Previous post Next post
Up