algebaric operations on a RegEx?

Chris F.A. Johnson cfaj-uVmiyxGBW52XDw4h08c5KA at public.gmane.org
Wed Apr 15 16:43:17 UTC 2009


On Wed, 15 Apr 2009, S P Arif Sahari Wibowo wrote:

> On Wed, 15 Apr 2009, Chris F.A. Johnson wrote:
>>    Why do you need a one-liner? I can't think of a good reason.
>
> Do something quick from command line, such as normal calculator work (add and 
> multiply some numbers), or quick manipulation of strings.
>
> Basically, if I need calculator, I fired a perl or ruby one liner, and get 
> the result. With command history, it is a very efficient procedure (for me).

    That doesn't answer the question why you need a one-liner. You can
    enter multiple-line commands at the shell prompt.

-- 
    Chris F.A. Johnson, webmaster         <http://woodbine-gerrard.com>
    ===================================================================
    Author:
    Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list