Skip to content

Commit 32a56ae

Browse files
committed
Merge branch 'dev'
2 parents 699418d + e19061e commit 32a56ae

4 files changed

Lines changed: 10061 additions & 4 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## bashsrc 1.0.8
1+
## bashsrc 1.0.9
22

33
![bashsrc](https://github.com/shellscriptx/bashsrc/blob/dev/bashsrc.png)
44

src/string.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -840,12 +840,11 @@ function string.repeat()
840840
local str tmp
841841
while read str; do
842842
for ((i=0; i < $2; i++)); do
843-
tmp+=$str
843+
echo -n "$str"
844844
done
845-
echo "$tmp"
845+
echo
846846
done <<< "$1"
847847

848-
# for ((i=0; i < $2; i++)); do echo -n "$1"; done; echo
849848
return 0
850849
}
851850

0 commit comments

Comments
 (0)