BooK <philippe.bruhat@free.fr> writes: > En réponse à Brad Greenlee <brad@footle.org>: > >> What's really stumping me is that there has to be a shorter solution for >> wc.pl (mine is 23), but I haven't been able to get past the need for >> printf (at least, not for a shorter solution). Has anyone managed to do >> it without it? > > My wc.pl is 21, but uses printf. I tried many things to get rid of printf, > but all of them ended up being longer... There is a possible 21 char version that doesn't use printf. But it does use switch magic. -- Piers "It is a truth universally acknowledged that a language in possession of a rich syntax must be in need of a rewrite." -- Jane Austen?Thread Previous | Thread Next