Re:The Plain Text Project
by jamiesonbecker on Monday December 02, 2019 @08:21PM
(#21689036)
This will open all of the files with TODO in them in vim:
You can modify this easily, such as by using ripgrep, adding excludes, or doing regex to find TODO and FIXME together, but this is a quick one-liner to add to your `.bashrc`.
[ Parent
| on HN ]
You can put the grep flags at the end? All these years, and I had no idea.
Re:The Plain Text Project
by yencabulator on Tuesday December 03, 2019 @11:17AM
(#21693677)
Depends on your grep. Reordering flags is typically a GNU getopts extension, not present in traditional UNIXes.