I
infinity12star
Hi all
i've got a string as follow:
$string = " Linux version 2.6.13-15-default (geeko@buildhost) (gcc
version 4.0.2 20050901 (prerelease) (SUSE Linux) ) #1 Tue Sep 13
14:56:15 UTC 2005"
how do i only get the "SUSE Linux" inside the ( ) ??
do i look for (** ( SUSE Linux) ) ?
i can't jst hard code it to get SUSE Linux, because the output differs
from time to time
can someone plz help me thx.
i've got a string as follow:
$string = " Linux version 2.6.13-15-default (geeko@buildhost) (gcc
version 4.0.2 20050901 (prerelease) (SUSE Linux) ) #1 Tue Sep 13
14:56:15 UTC 2005"
how do i only get the "SUSE Linux" inside the ( ) ??
do i look for (** ( SUSE Linux) ) ?
i can't jst hard code it to get SUSE Linux, because the output differs
from time to time
can someone plz help me thx.