3 #=======================================================================
5 # File ID: 35e27b98-5ab6-11e4-831d-000df06acc56
7 # Send a list of all available commands and aliases to stdout. Argument
8 # $1 on the command line is delivered to grep(1).
10 # Author: Øyvind A. Holm <sunny@sunbase.org>
11 # License: GNU General Public License version 2 or later.
12 #=======================================================================
15 test -n "$1" && { grep_arg
="$1"; shift; }
16 compgen
-ac |
grep -i "$grep_arg" |
less