From 204d67c17f1258a6c4b58073c81e88666c32864a Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Jun 10 2011 01:47:10 +0000 Subject: Update cli_unsetFunctions.sh. --- diff --git a/Scripts/Functions/cli_unsetFunctions.sh b/Scripts/Functions/cli_unsetFunctions.sh index 211d4c3..3be4be4 100755 --- a/Scripts/Functions/cli_unsetFunctions.sh +++ b/Scripts/Functions/cli_unsetFunctions.sh @@ -43,7 +43,7 @@ function cli_unsetFunctions { # `cli_exportFunctions'. Be sure to limit the list to function # names that start with the suffix specified only. local FUNCDEF='' - local FUNCDEFS=$(declare -F | gawk '{ print $3 }' | egrep "^${SUFFIX}_") + local FUNCDEFS=$(declare -F | gawk '{ print $3 }' | egrep "^${SUFFIX}") # Unset function names from current execution environment. for FUNCDEF in $FUNCDEFS;do