News for hackers. Stuff that matters.
Re:Calendar.txt by tero on Friday February 28, 2025 @09:28AM (#43205969)
I especially like your 'mgrep', please do write it!

I have considered similar tools that make use of MarkDown syntax, I feel that there are many tools waiting to be written here.

Re:Calendar.txt by abound on Friday February 28, 2025 @11:36AM (#43207528)
I think mdq [1], which was recently on HN somewhere, fits this.

[1] https://github.com/yshavit/mdq

Re:Calendar.txt by tero on Friday February 28, 2025 @11:42AM (#43207612)
Mdq seems just what I've been looking for. I have yet to test it.

Based on documentation, you can mdq for the chapter whose heading is "## Foobar"; or extract all lists in chapter "### Xyzzy".

Thanks, abound!

Update: mdq discussion https://news.ycombinator.com/item?id=43152704