From 42a036d8d7d332ca75909654133bb5c2f7d20620 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 7 May 2010 10:12:12 +0200 Subject: help: uniq, b/c we've got alot of mirrors ;-) --- modules/help | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/help b/modules/help index 48c06686..e9dba2fe 100755 --- a/modules/help +++ b/modules/help @@ -8,7 +8,7 @@ case "$1" in done ## print all documented built-in commands sed -rn 's:^noise_([a-z]+)\(\) \{ # (.+)?$:\1 \2:p' "$NOISE" - } | sort | sed -rn ' + } | sort | uniq | sed -rn ' $s/$// s:^([a-z]+) (.+):type /\1 to \2:p' ;; (*) -- cgit v1.2.3