Re:Netscape and Sun announce JavaScript (1995)
by bazoom42 on Wednesday July 19, 2023 @10:14AM
(#36786708)
Python will never work on the web since different platforms use different characters to indicate line break.
[ Parent
| on HN ]
Re:Netscape and Sun announce JavaScript (1995)
by marcus0x62 on Wednesday July 19, 2023 @11:31AM
(#36788071)
Not true. For your Unix hosts, you just need to write a perl script to strip carriage returns before running a script written on Windows, and substitute LF for CR for scripts written on a Mac and for your Windows hosts write a Visual Basic program to add CRs to Unix scripts and add LFs after CRs for Mac scripts.
If you figure out how to write an AppleScript program to munge the Unix and Windows scripts, let me know. Manually fixing them in BBedit is getting to be a real drag.