Search found 1 match

by viaken
Tue Oct 01, 2013 7:48 pm
Forum: Challenges Solved
Topic: Russian Dolls
Replies: 40
Views: 3208

bash solution with a counter

Here's how I did mine. Infinite loops make me itch, so I try to avoid "while true", even knowing I can break. Also, looks like it was nested 999 times. wget -qO doll.gz http://www.hacker.org/challenge/misc/doll.bin export i=0 while gunzip doll.gz do let i++ ; mv doll doll.gz done echo &quo...