On Mar 2, 4:24 pm, David Joyner <wdjoy...@gmail.com> wrote:
> Classes were cancelled today because of snow:-)
>
> I think adding these lines to the top of the spkg-install
> script will do the trick:
>
> ${gapver:=./newest_version gap}
> GAP0=`$gapver`
> GAP=`echo $GAP0 | cut -f 1,2,3 -d "."`

Why not shorter?
 GAP0=`./newest_version gap`
 GAP=`echo $GAP0 | cut -f 1,2,3 -d "."`

Anyway. Provided that the version number of Gap will always be
indicated by three numbers that are separated by dots and that are
appended to the word "gap" by anything but a dot, then it seems fine
to me.

Cheers,
       Simon

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to