From: Nicolas Boisselier Date: Fri, 2 Aug 2019 00:49:42 +0000 (+0200) Subject: etc/profile.d/functions X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=1add9e6d7fe050d78f7737bddc2140cfd96899ba;p=nb.git etc/profile.d/functions --- diff --git a/etc/profile.d/functions b/etc/profile.d/functions index ed4b112c..2b9816f2 100755 --- a/etc/profile.d/functions +++ b/etc/profile.d/functions @@ -737,7 +737,7 @@ which_cache() { } uncomment() { - grep -hEv '^\s*(["\#\;-]|//|$)' $@ | grep -Ev "^\s*'" | cat + grep -hEv '^\s*(["\#\;-]|//|$)' "$@" | grep -Ev "^\s*'" | cat } gid_from_to() {