[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Very slim Desktop Manager



Tzafrir Cohen <tzafrir@cohens.org.il>:
>  On Sun, Nov 16, 2008 at 07:20:07AM +0100, s. keeling wrote:
> 
> > #!/usr/bin/perl -w
> > #
> > # Usage: calcme <string_to_calculate> [<output_format>]
> 
>  Here's something simpler:
> 
>  calc() { perl -e "print ''.($*).\"\\n\""; }

Very nice.  :-)

>  (Does not support the extra formatting you have, though)

To be honest, I'm pretty sure I didn't write calcme.pl; I think I
found it out there somewhere (google).  If the former, sorry I failed
to save the attribution.


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)    http://blinkynet.net/comp/uip5.html      Linux Counter #80292
- -    http://www.faqs.org/rfcs/rfc1855.html    Please, don't Cc: me.


Reply to: