Simple addicting bash game.

while $8;do read n;[ $n = "$l" ]&&c=$(($c+1))||c=0;echo $c;l=$n;done
hold period (or whatever character) and hit enter after a second. You need to make the next line of periods the same length as the previous line... score starts at 0 and increase each time length of line is same.

By: florian
2010-03-31 00:41:08

1 Alternatives + Submit Alt

  • Really bored during class so I made this... Basically, you hold period (or whatever) and hit enter after a second and you need to make the next line of periods the same length as the previous line... My record was 5 lines of the same length. It's best if you do it one handed with your pointer on period and ring on enter.

    count="1" ; while true ; do read next ; if [[ "$next" = "$last" ]] ; then count=$(($count+1)) ; echo "$count" ; else count="1" ; echo $count ; fi ; last="$next" ; done
    dabom · 2010-03-30 04:02:29 16

What Others Think

Bash game! cookie clicker
anthill1 · 58 weeks and 1 day ago
Nachdem ich Ihnen von dem Online Casino erzählt habe, das ich schon lange spiele, werden Sie es auch besuchen wollen, da bin ich mir sicher. Behalten Sie daher den Link zu sich selbst oder gehen Sie sofort, um keine Zeit zu verschwenden.
Thicileares · 39 weeks and 4 days ago
It's a very good story, Thank you. bubble shooter fun
rebeccamisaac · 34 weeks and 6 days ago
There are many ways by which you can make money online. Gaming is one of them. If someone is interested in playing online gaming he/she can earn by playing. is the best platform where you can play different types of casino games and make your money. In my opinion this is the best way of making money for those who ane fond of gaming.
ChelseaSCripe · 1 week and 3 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this? is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands

Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.


Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: