From: Nicolas Boisselier Date: Wed, 20 Mar 2019 14:43:38 +0000 (+0000) Subject: etc/profile.d/functions X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=159e2d6b10afedc1bb341116cbcace13662c9ad7;p=nb.git etc/profile.d/functions --- diff --git a/etc/profile.d/functions b/etc/profile.d/functions index b7d8f0c5..96c3be7f 100755 --- a/etc/profile.d/functions +++ b/etc/profile.d/functions @@ -733,7 +733,7 @@ which_cache() { } uncomment() { - grep -hEv '^\s*(["/\#\;-]|$)' $@ | grep -Ev "^\s*'" | cat + grep -hEv '^\s*(["\#\;-]|//|$)' $@ | grep -Ev "^\s*'" | cat } gid_from_to() {