T
torajeshkg
Hi Perl Gurus,
I'm a starter in perl and i have just finished reading a perl book and
for me getting back the pattern matching is becoming nightmare
specially with the /`\/*+ what not .
my problem
========
I have /etc/hosts file and i want to extract only host name from the
/etc/hosts file and then i want to search or make sure that all are in
some levels or i should be able to search something in common among all
these machines.
for example
say i have 100 machines in /etc/hosts file and i want to findout
kerlnel levels which are less than 2.4 or some number and then print
all those host names.
or something like this
the program should ask
1. what is the command you want to run
2. what is the string that you want to grep
3.do you want this to be placed in a file output
something like this userinteractive is much better
can this be done with CGI also ?
i know i have asked too much
please help me
thx in advance for any help.
grk
I'm a starter in perl and i have just finished reading a perl book and
for me getting back the pattern matching is becoming nightmare
specially with the /`\/*+ what not .
my problem
========
I have /etc/hosts file and i want to extract only host name from the
/etc/hosts file and then i want to search or make sure that all are in
some levels or i should be able to search something in common among all
these machines.
for example
say i have 100 machines in /etc/hosts file and i want to findout
kerlnel levels which are less than 2.4 or some number and then print
all those host names.
or something like this
the program should ask
1. what is the command you want to run
2. what is the string that you want to grep
3.do you want this to be placed in a file output
something like this userinteractive is much better
can this be done with CGI also ?
i know i have asked too much
please help me
thx in advance for any help.
grk