Last active
December 13, 2015 22:49
-
-
Save denzuko/4987473 to your computer and use it in GitHub Desktop.
cat a file without comments (usefull for ini and rc files)
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
| catt() { sed "s/^[#|;]\+.*$//g" $1 | grep -v "^$"; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment