Hacker News new | ask | show | jobs
by vram22 2561 days ago
Haven't tried it myself, but have read about nimgrep in previous HN nim threads. Just checked:

https://nim-lang.org/docs/nimgrep.html

Excerpt:

Nimgrep is a command line tool for search&replace tasks. It can search for regex or peg patterns and can search whole directories at once. User confirmation for every single replace operation can be requested. Nimgrep has particularly good support for Nim's eccentric style insensitivity. Apart from that it is a generic text manipulation tool.