What would you do if you needed to repeat a character such as – OR = multiple times while writing bash script. I needed a quick script to work on Linux, macOS, and FreeBSD server to repeat a string/character n times. Here’s how I built it.
Get the Free Newsletter!
Subscribe to Developer Insider for top news, trends, & analysis