[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Platform string
From: |
Jeff Wasilko |
Subject: |
Re: Platform string |
Date: |
Mon, 8 Sep 2003 14:36:45 -0400 |
User-agent: |
Mutt/1.3.99i |
On Mon, Sep 08, 2003 at 01:28:05PM -0400, Ferguson, Steve wrote:
> I'm looking to create a variable that can give me essentially this:
>
> uname -sr | tr ' ' '_'
>
> E.g.
>
> SunOS_5.8
> HP-UX_B.11.00
> Linux_2.4.20-20.9
In cfengine 2.0x, I get classes like this, which look close to
what you want:
sunos_5_9 sunos_sun4u_5_9
The dot wouldn't be valid in a class name, IIRC.
-j
- Platform string, Ferguson, Steve, 2003/09/08
- Re: Platform string,
Jeff Wasilko <=
- RE: Platform string, Ferguson, Steve, 2003/09/08
- RE: Platform string, Wheeler, John, 2003/09/08
- RE: Platform string, Ferguson, Steve, 2003/09/08
- RE: Platform string, Wheeler, John, 2003/09/08
- RE: Platform string, Ferguson, Steve, 2003/09/09