4 ms·
I'm in the same boat, but would be on the market for a lightweight tool that searches for hashtags in the file
by awinter-py 7y ago
I'm in the same boat, but would be on the market for a lightweight tool that searches for hashtags in the file
- superkuh 7y agoEvery text editor has search. Tags are just words. If you put the text into the text file it is automatically a searchable "tag". If you want you can put some markup around it but it's really not needed.
- awinter-py 7y agofair point only thing I can think of that I'd want that grepping doesn't provide is some ability to define multiline sections that get captured in a search
- rovr138 7y agoI mean, grep will find content in those sections but won’t be limited to those. To limit it, if you devote the first 3 lines to title, summary, tags You could extract the first 3 lines of each file and grep those. If not, if they have a prefix, title: summary: tags: You could grep those first then grep the output. grep -E ‘title:|summary:|tags:’ | grep ‘query’ A simple script can be built.
- johnchristopher 7y agoWhat about `grep` ?