Is there a bash equivalent to python's elegant string multiplication?
>>> "=" * 8
'========'
Is there a bash equivalent to python's elegant string multiplication?
>>> "=" * 8
'========'
you can try something like this:
myString=$(printf "%10s");echo ${myString// /=}