[CentOS] parsing out adjacent text

Keith Keller kkeller at wombat.san-francisco.ca.us
Tue Jun 3 14:41:41 UTC 2014


On 2014-06-03, Tim Dunphy <bluethundr at gmail.com> wrote:
> Ok! So this is where my script is at this point:

I strongly suggest that if you are writing a program to use a better
language.  bash is really painful for this sort of task.  Here's a
Perl script that queries /server-status:

http://www.perlmonks.org/?node_id=465848

And modify to taste.

--keith

-- 
kkeller at wombat.san-francisco.ca.us





More information about the CentOS mailing list