Directory delimiters

So I was reading about GIT. I need to develop some sort of code to check the existence of directories, to create new directories and possibly delete directories. That's not too easy from the little I saw of the Toolbox.

Then it downed on me: directory sections are separated on Mac OS with colons. GIT and Unix systems use slashes. Windows uses a backslash.

Sure enough, Windows has a translation procedure on its implementation of GIT (which is actually Linux, but.. emulated? I don't know. Don't care.) So I need to translate between Mac OS directory delimiters and Unix as well.

I'll just add this to the to-do list.

Comments

Popular posts from this blog

Using Retro68 on a Mac

Catching up with QEMU

Flashback: 1991