From 755b6533e0ba12eb8db8e02029b5b309ee9cc842 Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Sun, 8 Mar 2009 16:09:34 +0100 Subject: sort procedure names in help message --- src/aif.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/aif.sh b/src/aif.sh index 09c1f8b..125b40d 100755 --- a/src/aif.sh +++ b/src/aif.sh @@ -30,9 +30,9 @@ If the procedurename is prefixed with '/' it will be loaded from use For more info, see the README which you can find in /usr/share/aif/docs\n Available procedures: ==core== -`find $LIB_CORE/procedures -type f | sed \"s#$LIB_CORE/procedures/##\"` +`find $LIB_CORE/procedures -type f | sed \"s#$LIB_CORE/procedures/##\" | sort` ==user== -`find $LIB_USER/*/procedures -type f 2>/dev/null | sed \"s#$LIB_USER/\(.*\)/procedures/#\1/#\"`" +`find $LIB_USER/*/procedures -type f 2>/dev/null | sed \"s#$LIB_USER/\(.*\)/procedures/#\1/#\" | sort`" [ -n "$procedure" ] && msg="$msg\nProcedure ($procedure) specific options:\n$var_ARGS_USAGE" echo -e "$msg" -- cgit v1.2.3-54-g00ecf