Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!rpi!dali.cs.montana.edu!milton!uw-beaver!zephyr.ens.tek.com!tektronix!reed!glacier!busker!f20.n226.z1.FIDONET.ORG!Tim.Maroney From: Tim.Maroney@f20.n226.z1.FIDONET.ORG (Tim Maroney) Newsgroups: comp.sys.mac.programmer Subject: Re: MPW & spaces in pathnames Message-ID: <680.2783DF40@busker.fidonet.org> Date: 30 Dec 90 18:55:38 GMT Sender: ufgate@busker.fidonet.org (newsout1.26) Organization: FidoNet node 1:226/20 - cmhGate UF Gateway, Columbus OH Lines: 40 From: tim@hoptoad.uucp Reply-To: tim@hoptoad.UUCP In article <1990Dec27.173958.18413@CAM.ORG> pascal@CAM.ORG (Pascal Gosselin) writes: >>Turns out that the script was built in a way that didn't allow SPACES >>in path. I happened to still have my HD named to the default "Macintosh HD" >>(yes, A little pathetic, oh well!) and this causing all of the problems. In article <1990Dec29.221358.18317@chinet.chi.il.us> laird@chinet.chi.il.us (Laird J. Heal) writes: >Wherever there is a file name, put double-quotes around anything that is >not wild-carded (? or option-x) and almost all of your troubles will be >solved. Fine if all you're doing is typing, or writing scripts intended to work on a single system configuration. Building file names out of arguments and variable expansions, and storing them in variables or aliases, makes the problem much more complicated. I know how to solve this in csh on UNIX; I've been using MPW Shell since before it was released and I still don't know a consistent solution for it. As a result, I am making all my development hard drives and all program source files single words. I wish that MPW Shell would simply get smarter about multi-word file names, perfomrinag an internal parse-check-and-combine operation when the current simplistic approach gives a file system error on a partial name. -- Tim Maroney, Mac Software Consultant, sun!hoptoad!tim, tim@toad.com "Religion flourishes in greater purity without than with the aid of government." -- James Madison + Organization: Electronics for Imaging, San Bruno CA -- Tim Maroney - via FidoNet node 1:105/14 UUCP: ...!{uunet!glacier, ..reed.bitnet}!busker!226!20!Tim.Maroney INTERNET: Tim.Maroney@f20.n226.z1.FIDONET.ORG