Karim Belabas on Sat, 17 Sep 2005 20:00:55 +0200 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
net capable gp |
Hello, here's a cute GP function to download and read a script given by an URL, provided wget is available: readURL(url) = extern( Str("wget -q -O - ", url) ); e.g readURL("http://www.math.u-bordeaux.fr/~belabas/pari/scripts/gsum1.gp") Have fun, Karim. -- Karim Belabas Tel: (+33) (0)5 40 00 26 17 Universite Bordeaux 1 Fax: (+33) (0)5 40 00 69 50 351, cours de la Liberation http://www.math.u-bordeaux.fr/~belabas/ F-33405 Talence (France) http://pari.math.u-bordeaux.fr/ [PARI/GP]