How do we resolve POSIX file path syntax between 4D and Mac Terminal?

This Mac system path has a space in the folder name "Final Application":
Macintosh 
HD:Users:jeremyfrench:Desktop:test_notarize_01:test_notarize_01_Build:Final 
Application:test_notarize_01.app:

4D's POSIX shows the space in "Final Application" unescaped:
/Users/jeremyfrench/Desktop/test_notarize_01/test_notarize_01_Build/Final 
Application/test_notarize_01.app/

And 4D's escaped POSIX shows the space represented as "%20”, like this:
/Users/jeremyfrench/Desktop/test_notarize_01/test_notarize_01_Build/Final%20Application/test_notarize_01.app/

Neither 4D syntax (escaped or unescaped) matches Terminal's POSIX syntax.

Terminal's POSIX shows the space in "Final Application" escaped differently, 
with a left-slash: "\ "
/Users/jeremyfrench/Desktop/test_notarize_01/test_notarize_01_Build/Final\ 
Application/test_notarize_01.app

QUESTIONS:

Does Terminal escape only space characters?
Are there other characters that Terminal escapes with a left-slash?
Is replacing a space with left-slash-space the only change needed to convert 
4D's POSIX to Terminal's POXSIX?
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to