rwxrob-dot/scripts/echon

9 lines
111 B
Plaintext
Raw Normal View History

2022-02-09 07:29:05 +00:00
#!/usr/bin/env bash
echon () {
declare i
for ((i=0; i<${2:-1}; i++)); do echo -n "$1"; done
}
echon "$@"