Hacker News new | past | comments | ask | show | jobs | submit login

I see. Docfd right now should be fine for the id/uuid part, but the "piece of text" can be problematic as right now there is no way to ask Docfd to constrain search to line level.

I'll add a --line-oriented-exts command line argument that defaults to "log", so searching anything *.log will not be cross line boundaries.

Are there other file extensions you're dealing with?




Usually only .log files, although sometimes the log files might not have an extension and just be in a logs/ folder and the file name might be something like a date+name of service that writes the log


Gotcha. In the latter case, would file globbing through bash/whatever suffice? Been trying to avoid opening more cans of worms than I need, but if I really do need to add file globbing then oh well : v

EDIT: Scratch that, I'll just add file globbing since I'm that close to covering most use cases anyway.


Amazing! Love the motivation!


Just added file globbing and single line search mode, will make a new release when I've added some tests and have used it myself for a week or so.


Impressive! So cool




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: