home *** CD-ROM | disk | FTP | other *** search
- #! /bin/csh
- cp /dev/null pepehistory
- echo "-----" >> pepehistory
- echo "Pepe\! Look out\!" >> pepehistory
- echo "Oops\!" >> pepehistory
- echo "-----" >> pepehistory
- pepezap 512 < pepedata >> pepehistory
- echo "Could we see that on slo-mo replay, please?" >> pepehistory
- echo "-----" >> pepehistory
- foreach i (1 2 4 8 16 32 64 128 256 512)
- pepezap $i < pepedata >> pepehistory
- end
- echo "Don't despair Pepe, we can sort that right out\!" >> pepehistory
- echo "-----" >> pepehistory
- pepesort 63 < pepedata >> pepehistory
- echo "Damn\! That didn't work; have to try it the hard way\!" >> pepehistory
- echo "Zzzzzzt\!" >> pepehistory
- echo "-----" >> pepehistory
- pepezap 512 < pepedata >> pepehistory
- echo "Shuffle to the left\!" >> pepehistory
- echo "Shuffle to the right\!" >> pepehistory
- echo "Shuffle poor Pepe\!" >> pepehistory
- echo "Fight\! Fight\! Fight\!" >> pepehistory
- echo "-----" >> pepehistory
- foreach i (9 18 27 36 45 54)
- pepebarezap 512 < pepedata | pepebacksort $i >> pepehistory
- end
- echo "Now the other way\!" >> pepehistory
- echo "-----" >> pepehistory
- foreach i (63 60 57 54 51 48 45 42 39 36 27 18 9 0)
- pepeunsort $i < pepedata >> pepehistory
- end
- echo "All better\!" >> pepehistory
- cat pepehistory
-