spcd_fill

This commit is contained in:
Marc Beninca 2024-08-23 19:58:35 +02:00
parent cc96c1cd81
commit 6dcdf960c7
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -865,6 +865,14 @@ spcd_error_os() {
exit "${SPCD_ERROR_OS}" exit "${SPCD_ERROR_OS}"
} }
spcd_fill() {
spcd_fill__index=${1}
while [ ${spcd_fill__index} -gt 0 ]; do
printf "${2}"
spcd_fill__index=$((spcd_fill__index - 1))
done
}
spcd_git_clone() { spcd_git_clone() {
if [ -n "${1}" ]; then if [ -n "${1}" ]; then
spcd_gc__name="$(basename "${1}")" spcd_gc__name="$(basename "${1}")"