This seems like a simple problem but I couldnt find a ready solution. I need to generate a string of characters "."s as a variable.
ie, IN my bash script, I need to generate a string of length 15 ...............
I need to do so variably. I tried using this as a base (from: http://www.unix.com/shell-programming-scripting/46584-repeat-character-printf.html)
for i in {1..100};do printf "%s" "#";done;printf "\n"
But how do i get the 100 to be a vairbale?