logoalt Hacker News

inigyoutoday at 10:57 AM1 replyview on HN

It's a problem with mixing code and data, therefore needing to escape. You can solve it by adding another symbol, let's call it Options Introducer, but that doesn't actually solve it because someone can name a file starting with Options Introducer. GUIs don't have this problem because you are clearly typing in the textbox or outside of it, or even better, you can select the file you mean.


Replies

evikstoday at 12:31 PM

You could use an illegal file name symbol as the Options Introducer?

show 1 reply