Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #6632

Re: Need info. on automation using Ruby

From Robert Klemme <shortcutter@googlemail.com>
Newsgroups comp.lang.ruby
Subject Re: Need info. on automation using Ruby
Date 2012-10-01 21:02 +0200
Message-ID <acu7m8Fpul5U1@mid.individual.net> (permalink)
References <10317c79-83d4-47a4-a2f2-c85f62f7b90f@googlegroups.com> <acicpkF22pqU1@mid.individual.net> <0a1ad721-4446-40b7-b90d-fc9b6072745d@googlegroups.com>

Show all headers | View raw


On 10/01/2012 05:28 AM, Sachin Uplaonkar wrote:
> The thing is I have an application which is a CLI based, wherein you
> normally give in the cmds n gives the result. I want to make it a
> interactive one wherein it 'll ask for the cmd as input n then writes
> that result into a file. After that using regular expression would
> like to find the string which I intend to find and show how many of
> those strings are present in that file.

So you want to add a kind of command shell.  You could look at IRB for 
inspiration.

Kind regards

	robert

Back to comp.lang.ruby | Previous | NextPrevious in thread | Find similar


Thread

Need info. on automation using Ruby up.sachi@gmail.com - 2012-09-25 21:48 -0700
  Re: Need info. on automation using Ruby Robert Klemme <shortcutter@googlemail.com> - 2012-09-27 09:15 +0200
    Re: Need info. on automation using Ruby Sachin Uplaonkar <up.sachi@gmail.com> - 2012-09-30 20:28 -0700
      Re: Need info. on automation using Ruby Robert Klemme <shortcutter@googlemail.com> - 2012-10-01 21:02 +0200

csiph-web