On Sat, 16 Nov 2024 08:47:09 +0000, Jack wrote: >Notepad was a great product. Than W11 came and MS improved it. > On my desktop I tried: printf 'foo\000bar\n' >x.txt then inspected the file with several facilities.
Vim and less display the \000 as "^@". BBEdit as highlighted "¿". TextEdit truncates the line at that point. Cat simply elides it. I prefer to be alerted to anomalies. Therefore I would consider the Win 10 Notepad treatment unsatisfactory. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN