2 ms·
exit() is unambiguous, syntactically and semantically. exit is unambiguously broken syntax, it doesn't fit into what the REPL promises, it's an error. newbies
by fsckboy 3y ago
exit() is unambiguous, syntactically and semantically.
exit is unambiguously broken syntax, it doesn't fit into what the REPL promises, it's an error.
newbies to unix need to learn about Ctrl-D, and it should be taught. But it should not be the job of every tool to teach that lesson, it's one step removed from QWERTY. There are actually apps that break Ctrl-D and they are another abomination in the direction of newbie hand holding.