Date: Wed, 19 Jul 2000 17:13:08 +0200 (CEST) From: Oliver Fromme <olli@dorifer.heim3.tu-clausthal.de> To: freebsd-chat@FreeBSD.ORG Subject: Re: vinum Message-ID: <200007191513.RAA44083@dorifer.heim3.tu-clausthal.de> In-Reply-To: <8l2c48$m0a$1@atlantis.rz.tu-clausthal.de>
next in thread | previous in thread | raw e-mail | index | archive | help
In list.freebsd-chat Ben Smithurst <ben@freebsd.org> wrote: > ok, who's going to give me the Perl one-liner to do that? FWIW, here's the shell one-liner. dc is your friend. :) olli@dorifer:~> echo 22322600044678729P | dc | rev IN VINO olli@dorifer:~> echo 22322600044678990P | dc | rev NO VINO There's no need to hack 10 lines of C or (even worse) one line of unreadable perl. ;) Regards Oliver -- Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany (Info: finger userinfo:olli@dorifer.heim3.tu-clausthal.de) Addresses will change soon!! If in doubt: www.fromme.com "In jedem Stück Kohle wartet ein Diamant auf seine Geburt" (Terry Pratchett) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200007191513.RAA44083>