git: cc36164a77f9 - main - makeman: replace -\|/ twiddles with dots
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 08 Mar 2023 21:01:27 UTC
The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=cc36164a77f9a2f40e0ac103c9c3154aacca6d29 commit cc36164a77f9a2f40e0ac103c9c3154aacca6d29 Author: Brooks Davis <brooks@FreeBSD.org> AuthorDate: 2023-03-08 21:01:17 +0000 Commit: Brooks Davis <brooks@FreeBSD.org> CommitDate: 2023-03-08 21:01:17 +0000 makeman: replace -\|/ twiddles with dots It shows progress more clearly, there aren't so many that the output is excessive, and it's more friendly for things like Cirrus-CI's logging that print the backspaces as boxes. Reviewed by: emaste Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D38990 --- tools/build/options/makeman | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/tools/build/options/makeman b/tools/build/options/makeman index 69dd3a46c201..5a8b207b228a 100755 --- a/tools/build/options/makeman +++ b/tools/build/options/makeman @@ -317,8 +317,9 @@ EOF ;; esac - twiddle >&2 + printf "." >&2 done + printf "\n" >&2 cat <<EOF .El .Sh FILES @@ -343,13 +344,4 @@ This manual page was autogenerated by EOF } -twiddle_pos=0 -twiddle() -{ - local c0='|' c1='/' c2='-' c3='\' - - eval printf '%c\\b' '$c'${twiddle_pos} - twiddle_pos=$(((twiddle_pos+1)%4)) -} - main