[Github-comments] [geany/geany] geany-status.m4:replace hyphens with text (#2058)

Colomban Wendling notifications at xxxxx
Fri Jan 18 15:55:33 UTC 2019


b4n commented on this pull request.



> @@ -27,7 +27,8 @@ EOF
 	# Print a nice top bar
 	# description + ' : ' + value
 	total=`expr $dlen + 3 + $vlen`
-	for i in `seq 1 $total`; do printf '-'; done
+	echo
+	echo "    Build configuration result:"

Sadly `printf '%-*s' $total '' | tr ' ' -` isn't portable…

But what about this?
```shell
i=0; while test $i -lt $total; do printf '-'; i=`expr $i + 1`; done
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/2058#pullrequestreview-194161568
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20190118/b6333384/attachment.html>


More information about the Github-comments mailing list