-- Clifford Beshers Office: (212) 939-7087 Lab: (212) 939-7101 Columbia University Fax: (212) 666-0140 500 West 12Oth St., Room 450 WWW: http://www.cs.columbia.edu/~beshers New York, NY 10027 Email: beshers_at_cs.columbia.edu **************************************************************** #!/bin/sh cd Lib echo 'Setting the shared library extension.' for i in init.stk do echo "Converting $i" sed -e 's/\"so\"/\"sl\"/g' $i >TMPFILE mv -f $i ${i}.orig mv -f TMPFILE $i done cd .. echo 'Changes from here should be made permanently.' echo 'That is, for code to be portable, the shared library' echo 'suffix should be omitted so the default is chosen.' echo 'Converting all files in Lib' cd Lib for i in *.stk do grep 'load \".*.so\"' $i || continue echo "Converting $i" sed -e 's/\(load \".*\).so\"/\1\"/g' $i >TMPFILE mv -f $i ${i}.orig mv -f TMPFILE $i done cd .. # These changes should be done permanently. echo 'Converting all files in STklos' cd STklos for i in *.stk do grep 'load \".*.so\"' $i || continue echo "Converting $i" sed -e 's/\(load \".*\).so\"/\1\"/g' $i >TMPFILE mv -f $i ${i}.orig mv -f TMPFILE $i done cd ..Received on Sun Oct 22 1995 - 06:02:30 CET
This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST