On Fri, Jun 25, 2004 at 01:31:33PM -0600, Warren Block probably wrote: > On Fri, 25 Jun 2004, Parv wrote: > > > Perl: > > perl -e 'print +(17 * 36)' > > Or just > > perl -e 'print 17 * 36' > > but for neatness > > perl -e 'print 17 * 36, "\n"'
Or just $ sh -c 'echo $((17*36))' 612 or $ echo $((17*36)) if you use sh as your interactive shell. -- DoubleF The first time, it's a KLUDGE! The second, a trick. Later, it's a well-established technique! -- Mike Broido, Intermetrics
pgp0FFui5t4Nb.pgp
Description: PGP signature