From a3d8ba58d95118788aff0b022204b1d3a92db6a1 Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Tue, 10 Jan 2017 00:04:38 +0000 Subject: [PATCH] add uncomment --- etc/profile.d/functions | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/etc/profile.d/functions b/etc/profile.d/functions index 00c6a7cf..a9dc8227 100644 --- a/etc/profile.d/functions +++ b/etc/profile.d/functions @@ -842,3 +842,8 @@ which_cache() { _which_cache="$_which_cache|$1=0" return 1 } + +uncomment() { + grep -E '^\s*\w' $@ + #grep -Ev '^\s*(["\'/\#\;-])' +} -- 2.47.3