4 ms·
Bash-completion does something like this for commands with consistent --help output (most Coreutils, bash, awk, grep, sed...) by parsing it in the completion fu
by bewuethr 6y ago
Bash-completion does something like this for commands with consistent --help output (most Coreutils, bash, awk, grep, sed...) by parsing it in the completion function: https://github.com/scop/bash-completion/blob/29508ce70914f787203722c2e7d77f33f6330fb1/bash_completion#L1993-L2048 https://github.com/scop/bash-completion/blob/29508ce70914f78...