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.
Source: LXer – ASCII score bars and a gorblimey command