sh scripting question
Jon Schneider
freebsd at jschneider.net
Fri Oct 16 18:07:42 UTC 2020
There’s a YouTube publisher called enderman who shows how how inconsistently these special CP/M and DOS file names are handled in Windows. He does things like create install Windows itself into con. I have found you can total OneNote for Windows users by creating a notebook called for example “con”.
https://www.youtube.com/watch?v=YcAdgcAvTCs&t=221s
Having watched these I am convinced Microsoft should have simply allowed them in Windows. Currently there is a horrible mess.
As for the original problem the only (and safe and portable way among all OSs that use C language interfaces) is to assume that the null character is the only safe separator in file lists. Because of the underlying C language interfaces.
Jon
> such as "COM1:". :-
More information about the freebsd-questions
mailing list