Re: retreive numbers from alpha-numeric string

2008-09-17 Thread sisyphus
On Sep 17, 1:28 am, [EMAIL PROTECTED] (Cancer) wrote: > Hi, >  I am using Perl on Linux server. I m writing a code which will tell > us the Linux distro with version. For this the command is > > cat /etc/issue > > which is common for all the distributions of linux. But the output > varies for diffe

Re: retreive numbers from alpha-numeric string

2008-09-16 Thread Alan C
On Tue, Sep 16, 2008 at 8:28 AM, cancer <[EMAIL PROTECTED]> wrote: > Hi, > I am using Perl on Linux server. I m writing a code which will tell > us the Linux distro with version. For this the command is > > cat /etc/issue > > which is common for all the distributions of linux. Slackware :-) [

Re: retreive numbers from alpha-numeric string

2008-09-16 Thread Mr. Shawn H. Corey
On Tue, 2008-09-16 at 08:28 -0700, cancer wrote: > Hi, > I am using Perl on Linux server. I m writing a code which will tell > us the Linux distro with version. For this the command is > > cat /etc/issue > > which is common for all the distributions of linux. But the output > varies for differen

retreive numbers from alpha-numeric string

2008-09-16 Thread cancer
Hi, I am using Perl on Linux server. I m writing a code which will tell us the Linux distro with version. For this the command is cat /etc/issue which is common for all the distributions of linux. But the output varies for different distributions. For e.g. SUSE Welcome to openSUSE 11.0 (X86-6