From 36a1c06354cd09902ecbb0162dec59c0fcb1ee36 Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Tue, 7 Feb 2017 10:55:13 +0000 Subject: [PATCH] etc/profile.d/functions --- etc/profile.d/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/profile.d/functions b/etc/profile.d/functions index c3259575..1d0da2f8 100644 --- a/etc/profile.d/functions +++ b/etc/profile.d/functions @@ -163,7 +163,7 @@ shell_help_noarg() { shell_functions() { # NB 15.02.16 set | perl -ne '/^([a-z][\w_-]+) \(\)\s*$/ and print "$1\n"' - typeset -f | awk '/^[a-z]+[a-zA-Z0-9_]+/{print $1}' + typeset -f | awk '/^[a-z]+[a-zA-Z0-9_]+ \(\)/{print $1}' # NB 07.02.17 typeset -f | perl -ne '/^([a-z][\w_-]+) \(\)\s*\{*$/ and print "$1\n"' #set | perl -ne '/^([a-z][\w_-]+) \(\)\s*$/ and print "$1 "' | perl -pe 's/\s+$//' } -- 2.47.3