Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OT: spaces in pathnames




On 8 jun 2005, at 15:18, Lawrence Paulson wrote:


Specifically, I have to pass an argument list from one program to another. It seems that I have to write the filenames to a file. Using ls -db, I can write the filenames with special characters fully escaped. The second program (invoked via open-x11) somehow needs to read these filenames. If I use $(<$FILENAME), the filenames get split at the spaces despite the backslashes, e.g. Isabelle\ app\ bundle becomes three words.


Use

"$FILENAME"

(*including* the double quotes)


Apple itself made the mistake of leaving out those double quotes once: http://wired-vig.wired.com/news/technology/0,1282,48149,00.html



Jonas

_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/x11-users/email@hidden

This email sent to email@hidden
References: 
 >OT: spaces in pathnames (From: Lawrence Paulson <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.