fill
This commit is contained in:
parent
6c1dd6fa84
commit
3634ea4a77
1 changed files with 3 additions and 4 deletions
|
@ -5,12 +5,11 @@
|
||||||
# ╰───╯
|
# ╰───╯
|
||||||
|
|
||||||
_spcd_fill() {
|
_spcd_fill() {
|
||||||
_spcd_fill__index=${1}
|
local index=${1}
|
||||||
while [ "${_spcd_fill__index}" -gt 0 ]; do
|
while [ "${index}" -gt 0 ]; do
|
||||||
printf "%s" "${2}"
|
printf "%s" "${2}"
|
||||||
_spcd_fill__index=$((_spcd_fill__index - 1))
|
index=$((index - 1))
|
||||||
done
|
done
|
||||||
unset _spcd_fill__index
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# ╭───┬────────╮
|
# ╭───┬────────╮
|
||||||
|
|
Loading…
Reference in a new issue