[Tutor] Mac to UNIX and back again (what to do about path)

kevin parks kp87@lycos.com
Wed, 11 Jul 2001 06:21:23 +0900


I have some scripts that i want to be able to run on both Mac OS 9 and under UNIX (the UNIX distribution on Mac OS X). I've managed to get the line endings thing somewhat under control with a little drag an drop changer app, but i don't know what to do about the path separator. On Mac it is (as you know ':' and UNIX is '/'. I'd really like to have one script that works on both. 

cheers,
kevin parks
seoul, korea
kp87@lycos.com




Get 250 color business cards for FREE!
http://businesscards.lycos.com/vp/fastpath/