]> git.nbdom.net Git - nb.git/commitdiff
etc/profile.d/functions
authorNicolas Boisselier <nicolas.boisselier@gmail.com>
Wed, 20 Mar 2019 14:43:38 +0000 (14:43 +0000)
committerNicolas Boisselier <nicolas.boisselier@gmail.com>
Wed, 20 Mar 2019 14:43:38 +0000 (14:43 +0000)
etc/profile.d/functions

index b7d8f0c5a357057836969522b921f0b21eac8499..96c3be7fdcc4d395dbe9e05e528dbea8d551d8aa 100755 (executable)
@@ -733,7 +733,7 @@ which_cache() {
 }
 
 uncomment() {
-       grep -hEv '^\s*(["/\#\;-]|$)' $@ | grep -Ev "^\s*'" | cat
+       grep -hEv '^\s*(["\#\;-]|//|$)' $@ | grep -Ev "^\s*'" | cat
 }
 
 gid_from_to() {