4 ms·
Mac OS 9 and earlier used colons as path separators and some support for that made it into OS X, although it might be gone by now. Apple's guidelines https://s
by amock 10y ago
Mac OS 9 and earlier used colons as path separators and some support for that made it into OS X, although it might be gone by now. Apple's guidelines https://support.apple.com/en-us/HT202808 https://support.apple.com/en-us/HT202808 recommend not using colons.
- lloeki 10y agoIt's not really gone, and is the path separator in the "UI layer" (Cocoa&al.) but the POSIX layer uses `/`. This gets automatically mapped back and forth. Try to create a file or folder containing `/` in the UI (Textedit, Finder) and look at its name via the terminal. Now, `touch foo:bar` and look at it in the Finder.
- lscharen 10y agoAlso from the Apple lineage, GS/OS allowed either slashes or colons as valid path separators. See the last paragraph on page 109 of the GS/OS Internals manual. http://www.brutaldeluxe.fr/documentation/gsos/Apple_IIgs_GSOS_internals_v1.pdf http://www.brutaldeluxe.fr/documentation/gsos/Apple_IIgs_GSO...