On Thu, Nov 17, 2005 at 01:21:44PM -0500, Adam Garside wrote:
>relmajor=`echo $relmajor | sed 's/^[0-9]*\.\([0-9]*\)\..*/\1/'`
>
>appears to be the offending line.
>
>"echo $relmajor" should be "echo $release"
Still broken, that gives me relmajor=6 rather than 2. Perhaps this:
eval $(uname -r | sed -e 's/^/relmajor="/' \
-e 's/\./"; relminor="/' \
-e 's/\./"; release="/' \
-e 's/$/"/')
--bod
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]