From e64c05d26b468b3434d558de1bbb3513e2a62bf0 Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Sun, 15 Feb 2009 12:45:28 +0100 Subject: even better display of procedures --- src/aif.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/aif.sh b/src/aif.sh index beaf30c..b2662eb 100755 --- a/src/aif.sh +++ b/src/aif.sh @@ -25,7 +25,9 @@ If the procedurename starts with 'http://' it will be wget'ed. Otherwise it's a If the procedurename is prefixed with '/' it will be loaded from user module .\n For more info, see the README which you can find in /usr/share/aif/docs\n Available procedures: -`find $LIB_CORE/procedures -type f | sed \"s#$LIB_CORE/procedures/##\"`\n +==core== +`find $LIB_CORE/procedures -type f | sed \"s#$LIB_CORE/procedures/##\"` +==user== `find $LIB_USER/*/procedures -type f 2>/dev/null | sed \"s#$LIB_USER/\(.*\)/procedures/#\1/#\"`" [ -n "$procedure" ] && msg="$msg\nProcedure ($procedure) specific options:\n$var_ARGS_USAGE" -- cgit v1.2.3-54-g00ecf