Created
January 7, 2026 02:08
-
-
Save jcesarstef/ef28ba7b0ce34cd8c55fdd187e0b4d24 to your computer and use it in GitHub Desktop.
Tired of messing up the grep argument order, so I created a new Linux command: jgrep
This file contains hidden or 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
| # jgrep: Comando para inverter a sintaxe do grep, recebendo o arquivo antes do termo de busca. | |
| jgrep() { | |
| grep "$2" "$1" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment