'thinkertoy.txt' newline formatting (CRLF vs LF) #3

Open
opened 2 years ago by matthewhope · 0 comments

I am working on a Linux Ubuntu 22.04 machine

The three 'banner' files appear to use inconsistent line-endings:

standard.txt - LF
shadow.txt - LF
thinkertoy.txt - CRLF

This may be intentional to test our knowledge, but if not, it has the result that attempting to render ASCII output with thinkertoy.txt as the character set inserts the carriage return '\r' symbol after every character.

If I copy and paste the 'raw' text from thinkertoy.txt into a new file, on my machine, it now uses LF line-endings, and as a result it renders correctly.

I am working on a Linux Ubuntu 22.04 machine The three 'banner' files appear to use inconsistent line-endings: standard.txt - LF shadow.txt - LF thinkertoy.txt - CRLF This may be intentional to test our knowledge, but if not, it has the result that attempting to render ASCII output with thinkertoy.txt as the character set inserts the carriage return '\r' symbol after every character. If I copy and paste the 'raw' text from thinkertoy.txt into a new file, on my machine, it now uses LF line-endings, and as a result it renders correctly.
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.