Ready to be published? LXer is read by around 350,000 individuals each month, and is an excellent place for you to publish your ideas, thoughts, reviews, complaints, etc. Do you have something to say to the Linux community?
The problem is to build a string of asterisks and hyphens for a score out of 10. if the score is 6 the string is ******----. If the score is 4 the string is ****------. Three command-line solutions are demonstrated here.