Re:Mastering Bash and Terminal
by EvilTerran on Saturday January 14, 2017 @06:25PM
(#13401246)
Well, yes... okay, maybe that was a poor choice of example, :grep is probably more ergonomic for that particular use case.
The trick I described is more for when you're dealing with some unusual program that wouldn't work with :grep - at least not without fiddling with 'grepprg' to invoke it, and/or 'grepformat' to correctly interpret its output.
The trick I described is more for when you're dealing with some unusual program that wouldn't work with :grep - at least not without fiddling with 'grepprg' to invoke it, and/or 'grepformat' to correctly interpret its output.