One reason might be that DOS used the "/" character for options, whereas in other operating systems the "-" character is used.
I never understood why Unix chose "-" for options. It creates unnecessary confusion. E.g. when deleting a directory called "-rf"
Why is the DOS path character "\"? (2005)
21–30 of 166 posts
Re: Why is the DOS path character "\"? (2005)
#22Thanks to Microsoft's recent release of the MS-DOS 2.0 source code, we can now peek under the hood and confirm that Microsoft specifically intended for the DOS 2.0 file APIs to be compatible with Unix. From XENIX.ASM [1], the code that implements the new API: ; ; xenix file calls for MSDOS ; TITLE XENIX - IO system to mimic UNIX And the CONFIG.DOC [2] file discusses the 'AVAILDEV' option which lets the system mimic U…
I really look forward to the day NT's source is released. It's a truly fascinating kernel. Imagine somebody building an entire Unix on top of NT! Like WSL, but even beyond.
Re: Why is the DOS path character "\"? (2005)
#23Re: Why is the DOS path character "\"? (2005)
#24One reason might be that DOS used the "/" character for options, whereas in other operating systems the "-" character is used.
I never understood why Unix chose "-" for options. It creates unnecessary confusion. E.g. when deleting a directory called "-rf"
rmdir /f /usr
Is that force-deleting the /usr directory, or the /usr and /f directories?
Re: Why is the DOS path character "\"? (2005)
#25Discuss... :)
Re: Why is the DOS path character "\"? (2005)
#26Re: Why is the DOS path character "\"? (2005)
#27One reason might be that DOS used the "/" character for options, whereas in other operating systems the "-" character is used.
I never understood why Unix chose "-" for options. It creates unnecessary confusion. E.g. when deleting a directory called "-rf"
Re: Why is the DOS path character "\"? (2005)
#28Earlier quoted context omitted.
I really look forward to the day NT's source is released. It's a truly fascinating kernel. Imagine somebody building an entire Unix on top of NT! Like WSL, but even beyond.
What special about NT kernel that's not in linux kernel ?
Re: Why is the DOS path character "\"? (2005)
#29Earlier quoted context omitted.
Win2k and WinXP source code are leaked if I am not mistaken
Release != leak
;)
Re: Why is the DOS path character "\"? (2005)
#30One reason might be that DOS used the "/" character for options, whereas in other operating systems the "-" character is used.
I never understood why Unix chose "-" for options. It creates unnecessary confusion. E.g. when deleting a directory called "-rf"