Re: Help required in writing a script

2008-10-28 Thread Philip Durbin
On Oct 23, 2008, at 11:22 AM, Philip Durbin wrote: monnappa appaiah wrote: i need help on something i'm working on.I have 127 systems connected in the network, i want to write a script which will run on a management server, i shud be able to connect to each and every s

Re: Help required in writing a script

2008-10-23 Thread Rob Dixon
Chas. Owens wrote: > On Thu, Oct 23, 2008 at 18:07, Rob Dixon <[EMAIL PROTECTED]> wrote: >> >> Microsoft's 'nmake' is available for free, but some versions have been more >> compatible with standard modules than others, and in any case, as there is >> still >> no C compiler, on its own it is a sol

Re: Help required in writing a script

2008-10-23 Thread Chas. Owens
On Thu, Oct 23, 2008 at 18:07, Rob Dixon <[EMAIL PROTECTED]> wrote: snip > In their endless search for money, Microsoft don't supply a C compiler, > assembler, or linker with any version of Windows in the last twenty years or > so. > Also, because of several deliberate decisions to make people pay

Re: Help required in writing a script

2008-10-23 Thread Rob Dixon
monnappa appaiah wrote: > >i tried to install the "Expect" modulebut i got the below > error msg: [snip] > cpan> install Expect > Running install for module 'Expect' [snip] > Checking if your kit is complete... > Looks good > Warning: prerequisite IO::Pty 1.03 not found. > Warn

Re: Help required in writing a script

2008-10-23 Thread Chas. Owens
On Thu, Oct 23, 2008 at 16:18, monnappa appaiah <[EMAIL PROTECTED]> wrote: snip >i tried to install the "Expect" modulebut i got the below > error msg: snip > ERROR: cannot run the configured compiler 'cl' > (see conf/compilerok.log). Suggestions: > 1) The complier 'cl' is not in yo

Re: Help required in writing a script

2008-10-23 Thread monnappa appaiah
Hi, i tried to install the "Expect" modulebut i got the below error msg: cpan> m /Expect/ Going to read C:\Perl\cpan\Metadata Database was generated on Mon, 20 Oct 2008 08:27:31 GMT ModuleBio::MAGE::QuantitationType::ExpectedValue (JASONS/Bio-MAGE-20020902.6 .tar.gz) Module

Re: Help required in writing a script

2008-10-23 Thread Chas. Owens
On Thu, Oct 23, 2008 at 10:49, monnappa appaiah <[EMAIL PROTECTED]> wrote: > i want to run specific commands and the output of those shud be put into a > file. snip So, you will need to learn to use: Net::SSH (if you want to use keys, this is preferable) - http://search.cpan.org/dist/Net-SSH/SSH.

Re: Help required in writing a script

2008-10-23 Thread Philip Durbin
monnappa appaiah wrote: i need help on something i'm working on.I have 127 systems connected in the network, i want to write a script which will run on a management server, i shud be able to connect to each and every system (all the systems have same password) and execute ce

Re: Help required in writing a script

2008-10-23 Thread monnappa appaiah
i want to run specific commands and the output of those shud be put into a file. On Thu, Oct 23, 2008 at 8:13 PM, Chas. Owens <[EMAIL PROTECTED]> wrote: > On Thu, Oct 23, 2008 at 10:34, monnappa appaiah <[EMAIL PROTECTED]> > wrote: > > Hi, > > i connect to machines using ssh, i need to co

Re: Help required in writing a script

2008-10-23 Thread Chas. Owens
On Thu, Oct 23, 2008 at 10:34, monnappa appaiah <[EMAIL PROTECTED]> wrote: > Hi, > i connect to machines using ssh, i need to collect only > stdout..connecting to all those machines serially or parllely is fine. > > Thanks, > Monnappa snip Do you want to run arbitrary commands at any tim

Re: Help required in writing a script

2008-10-23 Thread monnappa appaiah
Hi, i connect to machines using ssh, i need to collect only stdout..connecting to all those machines serially or parllely is fine. Thanks, Monnappa On Thu, Oct 23, 2008 at 7:50 PM, Chas. Owens <[EMAIL PROTECTED]> wrote: > On Thu, Oct 23, 2008 at 09:36, monnappa appaiah <[EMAIL PROTE

Re: Help required in writing a script

2008-10-23 Thread Chas. Owens
On Thu, Oct 23, 2008 at 09:36, monnappa appaiah <[EMAIL PROTECTED]> wrote: > Hi all, > > i need help on something i'm working on.I have 127 > systems connected in the network, i want to write a script which will run on > a management server, i shud be able to connect to each an

Re: Help required in writing a script

2008-10-23 Thread Rodrick Brown
Look at Net::SSH. On Thu, Oct 23, 2008 at 9:36 AM, monnappa appaiah <[EMAIL PROTECTED]>wrote: > Hi all, > > i need help on something i'm working on.I have 127 > systems connected in the network, i want to write a script which will run > on > a management server, i shud be abl

Help required in writing a script

2008-10-23 Thread monnappa appaiah
Hi all, i need help on something i'm working on.I have 127 systems connected in the network, i want to write a script which will run on a management server, i shud be able to connect to each and every system (all the systems have same password) and execute certain commands an

RE: helping writing a script

2005-10-16 Thread Charles K. Clarkson
Juan B wrote: : Hi guys ! : : I have four html pages. within eack one I have a firewalls : logs.I need to write a script that will search all the ip : address after the work "from: and wrote tham in a file and if : the ip is written already in the report file so dont writ

helping writing a script

2005-10-16 Thread Juan B
Hi guys ! I have four html pages. within eack one I have a firewalls logs.I need to write a script that will search all the ip address after the work "from: and wrote tham in a file and if the ip is written already in the report file so dont write in again. please help me on this or give me some

Re: writing a script

2003-02-16 Thread Michael Kelly
On Sat, Feb 15, 2003 at 01:03:50PM -0800, brady jacksan wrote: > Hi Hi, > I am writing a script that reads file from command line and places > each line from the files into an array, and prints out the total lines > read and then > each line read. > > w

Re: writing a script

2003-02-15 Thread Paul
Another excellent tool (if you don't mind a tron of output) is use diagnostics -verbose; enable diagnostics; Paul --- ktb <[EMAIL PROTECTED]> wrote: > On Sat, Feb 15, 2003 at 01:03:50PM -0800, brady jacksan wrote: > > Hi > > > > I am writing a script t

Re: writing a script

2003-02-15 Thread John W. Krahn
Brady Jacksan wrote: > > Hi Hello, > I am writing a script that reads file from command line and places > each line from the files into an array, and prints out the total lines > read and then > each line read. > > while (defined ($files = <>)) { ^

Re: writing a script

2003-02-15 Thread ktb
On Sat, Feb 15, 2003 at 01:03:50PM -0800, brady jacksan wrote: > Hi > > I am writing a script that reads file from command line and places > each line from the files into an array, and prints out the total lines > read and then > each line read. > >

Re: writing a script

2003-02-15 Thread Wiggins d'Anconia
Wiggins d'Anconia wrote: brady jacksan wrote: Hi I am writing a script that reads file from command line and places each line from the files into an array, and prints out the total lines read and then each line read. while (defined ($files = <>)) { chomp; print &

Re: writing a script

2003-02-15 Thread Wiggins d'Anconia
brady jacksan wrote: Hi I am writing a script that reads file from command line and places each line from the files into an array, and prints out the total lines read and then each line read. while (defined ($files = <>)) { chomp; print "Total lines in the f

writing a script

2003-02-15 Thread brady jacksan
Hi I am writing a script that reads file from command line and places each line from the files into an array, and prints out the total lines read and then each line read. while (defined ($files = <>)) { chomp; print "Total lines in the files:@files\." print &q

Re: writing a script

2003-02-15 Thread John W. Krahn
Wiggins D'Anconia wrote: > > dakenah johnson wrote: > > > > I am trying to write a script that reads names fron standard input and > > matches it to a key in a given table and prints out the name and key > > > > Enter a first name or " ", to exit > > chomp { $name = }; > > while $name ne " " > >

Re: writing a script

2003-02-15 Thread Wiggins d'Anconia
dakenah johnson wrote: Hi, I am trying to write a script that reads names fron standard input and matches it to a key in a given table and prints out the name and key Enter a first name or " ", to exit chomp { $name = }; while $name ne " " if $name is in @given_table then print "$name maps

writing a script

2003-02-15 Thread dakenah johnson
Hi, I am trying to write a script that reads names fron standard input and matches it to a key in a given table and prints out the name and key Enter a first name or " ", to exit chomp { $name = }; while $name ne " " if $name is in @given_table then print "$name maps to $value in given_table"