Displaying 1 result from an estimated 1 matches for "ossplit".
Did you mean:
issplit
2011 Oct 21
1
LSB facts
Hi All,
In the example42 modules, I noticed the following is done:
# Calculate OS version (without using lsb facts)
$ossplit=split($operatingsystemrelease, ''[.]'')
$osver=$ossplit[0]
I''ve been using $lsbmajdistrelease in all my configs. Is there any
particular reason why I might want to use the above instead? (apart from the
dependency on redhat-lsb, which is always installed)
Regards,
Gon...