[CentOS] parsing /proc/cmdline

Sat Mar 8 12:06:04 UTC 2008
William L. Maltby <CentOS4Bill at triad.rr.com>

It's Saturday A.M, so please forgive me.

On Fri, 2008-03-07 at 10:54 -0500, Filipe Brandenburger wrote:
> On Fri, Mar 7, 2008 at 10:35 AM, Jerry Geis <geisj at pagestation.com> wrote:
> >  If /proc/cmdline looks like
> >
> >  option1 option2 ... ks=http://192.168.1.8/ks/ks.cfg option3 option 4 ...
> >
> >  How can I get the 192.168.1.8 out of this cmdline.

A 12 gage shotgun ought to get the job done!  

> 
> Cryptic but does the job:
> <snip>

Seriously, by the time I got to this thread, answers had flowed like
river water, so that left only my perverse sense of humor in play.

-- 
Bill