URI: 
       Make posex a common man thing. - annna - Annna the nice friendly bot.
  HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
   DIR Log
   DIR Files
   DIR Refs
   DIR Tags
   DIR README
       ---
   DIR commit 04b8810c4af653bb47f7148f624635e89ff2f84b
   DIR parent 045881a05309b02e07b9a0357869a99e1ac610e1
  HTML Author: Annna Robert-Houdin <annna@bitreich.org>
       Date:   Tue, 23 Feb 2021 18:56:50 +0100
       
       Make posex a common man thing.
       
       Diffstat:
         M annna-start-services                |      12 +++++-------
       
       1 file changed, 5 insertions(+), 7 deletions(-)
       ---
   DIR diff --git a/annna-start-services b/annna-start-services
       @@ -276,19 +276,17 @@ annna_common() {
                                annna-say -c "${channel}" "${user}, ${randomoneliner}"
                        fi
                        ;;
       -        "${botname}, posex man "*|"${botname}, posix man "*)
       -                exp="$(printf "%s\n" "${text}" | cut -c 18- | sed 's,\t,    ,g')"
       -                chapter=1
       -                case "${exp%% *}" in
       -                        1|3) chapter="${exp%% *}"; exp="${exp#* }" ;;
       -                esac
       -                dresult="$(COLUMNS=80 man "${chapter}p" "${exp}")"
       +        "${botname}, man "*|"${botname}, man "*)
       +                exp="$(printf "%s\n" "${text}" | cut -c 12- | sed 's,\t,    ,g')"
       +                dresult="$(COLUMNS=80 man "${exp}" 2>/dev/null)"
       +
                        if [ "$dresult" ];
                        then
                                puri="$(printf "%s" "${dresult}" | /br/bin/bitreich-paste)"
                        else
                                puri="No matches found."
                        fi
       +
                        annna-say -c "${channel}" "${puri}"
                        ;;
                "${botname}, wolfram is "*)