I've been sitting here for a while and decided to scroll through the code
for java's bin file.
After checking man pages...etc etc
I noticed a few errors that sun must have neglected to fix.
First off... some of the 'tail' syntax is just wrong
and one of sums it says it *should* in in the code... is wrong
open up the bin file with whatever editor you like... I use nano
Go to line 333 and you'll see diskSpace=`df -k . | tail 1 .....................etc
change 'tail 1' to 'tail -n 1'
the current version of tail I'm using says 'tail 1' is obsolete and will be removed in future versions.
so it may or may not have an affect depending on when you're reading this
.... the next step MUST be done for it to work.
go down to about line 341 and you'll see 'tail +486'
that command DOES NOT work
you have to change it to: tail -n +486
Now... last thing... on about line 358 you'll see:
if expr $sum1 !=............etc
make sure the condition is the following:
$sum1 != 13775 || expr $sum2 != 35512
recap:
fix the tail commands
change the sum values if needbe to the ones given above (only sum1 should be wrong)
as a side note:
I kept saying "about line" cause I shoved echo statements in there to see what it was doing
and may have changed the numbers in mine by plus or minus 1 or 2
...Everything should now extract
