Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Shell 

Add a specified amount of chars based off of integer

I don't know if this is the correct place to post but it looks right so.
I want to include something in my script that would use the user's input (a number) and based off of that number it would add X many of the user's specified chars.
So far I have
Code
clear
read -p "Amount? " A
read -p "Character? " C
A=${A//}
B=

I want B to be Char over and over A times.
Any ideas?


Possibly Related Threads...
Thread / Author Replies Views Last Post
by iconiaAug 17, 2026 02:46 PM 3 90 Aug 17, 2026 02:46 PM
Last Post: iconia
[C] by Equivalent_Jaguar198Jun 13, 2022 02:20 PM 4 188 Jun 13, 2022 02:20 PM
Last Post: Equivalent_Jaguar198
[C#] by draxyeeJul 7, 2020 07:29 PM 1 139 Jul 7, 2020 07:29 PM
Last Post: iolaka