]> git.nbdom.net Git - nb.git/commitdiff
add uncomment
authorNicolas Boisselier <nicolas.boisselier@gmail.com>
Tue, 10 Jan 2017 00:04:38 +0000 (00:04 +0000)
committerNicolas Boisselier <nicolas.boisselier@gmail.com>
Tue, 10 Jan 2017 00:04:38 +0000 (00:04 +0000)
etc/profile.d/functions

index 00c6a7cf7d7d72934d6a507410f93e8540301f42..a9dc8227d4d91dd496594999cb0dfd5f2d0efa2e 100644 (file)
@@ -842,3 +842,8 @@ which_cache() {
   _which_cache="$_which_cache|$1=0"
   return 1
 }
+
+uncomment() {
+  grep -E '^\s*\w' $@
+  #grep -Ev '^\s*(["\'/\#\;-])'
+}