mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-05 09:39:13 +08:00

Mimic the behavior of Linux's `apropos -e` and ~BSD's `apropos -f` with the awk script by disallowing trailing characters in the name of the manpage as compared to the original input string. Apart from being faster (by aborting earlier and stopping `apropos` by breaking the pipe after the first match), it's also more correct.