Created
May 20, 2024 11:26
-
-
Save murphyslaw/8ed2064cb8fd59380a36e91bbba56a5e to your computer and use it in GitHub Desktop.
Sorted list of unique shell variables used in a file
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
grep -o '${[^}]*}' FILE | sort | uniq |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment