5 ms·
> But macOS uses '/' as a directory separator already. IIRC, HFS actually uses a ':'.
by ardy42 7y ago
> But macOS uses '/' as a directory separator already.
IIRC, HFS actually uses a ':'.
- cynwoody 7y agoMac OS versions prior to OS X used ':'. Mac OS X, initially released on 24 March 2001, uses '/', like other Unix-derived systems. Also, like other unices, OS X uses '\n' as the line ending. Prior Mac OSs used '\r' as the line ending. Windows uses '\r\n'.
- codesnik 7y agobut in Finder you can use "/" in filenames, and can't use ":". They got swapped if you look on the file from Terminal.
- hestefisk 7y agoSimilar, HFS+ used to provide the option for case insensitivity. Both things were built in for legacy support reasons during the transition from OS 9 to X, as with Carbon.
- zwily 7y agoMacs still come with case insensitivity on by default.
- pjmlp 7y agoIn A/UX you could use both.
- VirtualAirwaves 7y agoExactly! The MacOS zealots love to bash Windows (Or "Windoze" as they all call it), but in reality their own house stinks.
- gsnedders 7y agoPretty sure HFS doesn't actually store any directory separator. A directory, after all, is just another file, each one containing its own children. Classic Mac OS used ":" when it needed to use something as a path separator.