upvote
Fun things is that I encountered that for the first time when using Clozure CL (https://ccl.clozure.com/) which quotes colons when converting paths to string even on Linux:

  $ cat <<'EOF' >x.lisp
  heredoc> (require :uiop)
  heredoc> (let ((p (make-pathname :name "foo:bar")))
  heredoc>   (format t "~@{~A~%~}" (namestring p) (uiop:native-namestring p)))
  heredoc> EOF
  $ ccl -b -Q -l x.lisp </dev/null
  foo\:bar
  foo:bar
  $ sbcl --script x.lisp
  foo:bar
  foo:bar
reply
Current macOS Finder let's you name files with a slash in them, rendered as a : in the terminal.
reply
Isn't that just what the original article that we all commented on described? I don't understand what you are trying to add to the conversation here.
reply
I think that the slash might be the rendering though? If you

    $ touch "foo:bar"
In the Terminal, then Finder renders it as foo/bar.

So who is lying, how is it stored in the directory entry in APFS itself?

reply