Created
May 31, 2021 15:39
-
-
Save bibstha/9f8cea705fd9785730e53aefca9b741f to your computer and use it in GitHub Desktop.
negative lookahead with silversearcher ag on file pattern
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# find sorbet strictly typed files that are not tests and also instantiate instance variables | |
ag '@.+=.+' $(ag -G '.*/?!.*(test)/somepath/.*.rb' 'typed: strict' -l) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment