http://qs321.pair.com?node_id=142108


in reply to TIMTOWTDI/golf - counting backwards

35 characters for the whole command line: perl -le'$a=ord$/;print$a--while$a' Note: will not work on a Mac. :)

Replies are listed 'Best First'.
Re: Re: TIMTOWTDI/golf - counting backwards
by mrbbking (Hermit) on Jan 28, 2002 at 22:03 UTC
    Note: will not work on a Mac. :)
    ...works fine on my Mac, chipmunk.
    What's wrong with yours? :-)
    [localhost:~/Music] bbking% uname -a Darwin localhost 1.4 Darwin Kernel Version 1.4: Sun Sep 9 15:39:59 PD +T 2001; root:xnu/xnu-201.obj~1/RELEASE_PPC Power Macintosh powerpc [localhost:~/Music] bbking% perl -le'$a=ord$/;print$a--while$a' 10 9 8 7 6 5 4 3 2 1