Advanced

ASCII score bars and a gorblimey command

Posted by Bob_Mesibov on
BASHing data; By Bob Mesibov
Mail this story
Print this story

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.

Full Story

  Nav
» Read more about: Story Type: Tutorial

» Get new stories by e-mail: nightly or as they are published

« Return to the newswire homepage

  Related stories
» More like this

This topic does not have any threads posted yet!

You cannot post until you login.