From 4ac28301cd861ed958154cab128db72b03f2943c Mon Sep 17 00:00:00 2001 From: andy5995 Date: Thu, 17 Jan 2019 09:13:44 -0600 Subject: [PATCH] geany-status.m4:don't use seq fixes #2054 I don't know enough about shells to know how portable this patch is. All I can say for sure is that it works with ksh and bash. --- m4/geany-status.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4/geany-status.m4 b/m4/geany-status.m4 index c52b7afa9e..86a667e6d4 100644 --- a/m4/geany-status.m4 +++ b/m4/geany-status.m4 @@ -27,7 +27,7 @@ EOF # Print a nice top bar # description + ' : ' + value total=`expr $dlen + 3 + $vlen` - for i in `seq 1 $total`; do printf '-'; done + for i in {1..$total}; do printf '-'; done echo # And print the actual content