We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 699418d + e19061e commit 32a56aeCopy full SHA for 32a56ae
4 files changed
README.md
@@ -1,4 +1,4 @@
1
-## bashsrc 1.0.8
+## bashsrc 1.0.9
2
3

4
src/string.sh
@@ -840,12 +840,11 @@ function string.repeat()
840
local str tmp
841
while read str; do
842
for ((i=0; i < $2; i++)); do
843
- tmp+=$str
+ echo -n "$str"
844
done
845
- echo "$tmp"
+ echo
846
done <<< "$1"
847
848
-# for ((i=0; i < $2; i++)); do echo -n "$1"; done; echo
849
return 0
850
}
851
0 commit comments