summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xnoise/modules/help6
1 files changed, 3 insertions, 3 deletions
diff --git a/noise/modules/help b/noise/modules/help
index bc4c2931..0763f3a0 100755
--- a/noise/modules/help
+++ b/noise/modules/help
@@ -7,10 +7,10 @@ case "$1" in
done 2>/dev/null
done
## print all documented built-in commands
- sed -rn 's:^noise_([a-z]+)\(\) \{ # (.+)?$:\1 \2:p' "$NOISE"
- } | sort | uniq | sed -rn '
+ sed -n 's:^noise_\([a-z]\+\)() { # \(.\+\)\?$:\1 \2:p' "$NOISE"
+ } | sort | uniq | sed -n '
$s/$//
- s:^([a-z]+) (.+):type /\1 to \2:p' ;;
+ s:^\([a-z]\+\) \(.\+\):type /\1 to \2:p' ;;
(*)
## call
for directory in `echo "$NOISE_PATH" | tr : \ ` ; do