Closed factormystic closed 7 years ago
It would have to be an explicit flag like --trim
but I like the idea.
+1 from me, too! If you want to implement this feature, I'd be happy to merge it in!
Wait, not yet. We have much to do with how ack does output and the --trim will get in the way of that.
We need to overhaul all of highlighting and output for 2.12.
Closed and moved to wiki.
Searching for a term in source files displays matching lines as expected, however it's common for matched lines to start with a large amount of whitespace.
Is it possible to print matching lines with leading whitespace removed? I suppose it would need to be unless the leading whitespace is part of the matching text in the line.
It'd be easier to skim the output if this were possible