[alt.sources.wanted] use nroff!

merlyn@iwarp.intel.com (Randal Schwartz) (01/31/90)

In article <5306@m2c.M2C.ORG>, lipton@odin (Gary Lipton) writes:
| Is there a program to convert from arabic to roman numerals?

Yeah, it's called nroff.  (Betcha thought I was going to say Perl! :-)

$ nroff <<'EOF'
.pl 1
.af a I
.nr a 1990
\na
EOF
MCMXC
$

It works up to the big numbers.

Just another hacker finding strange uses for standard tools,
-- 
/=Randal L. Schwartz, Stonehenge Consulting Services (503)777-0095 ==========\
| on contract to Intel's iWarp project, Beaverton, Oregon, USA, Sol III      |
| merlyn@iwarp.intel.com ...!any-MX-mailer-like-uunet!iwarp.intel.com!merlyn |
\=Cute Quote: "Welcome to Portland, Oregon, home of the California Raisins!"=/