Skip to main content
9 events
when toggle format what by license comment
Mar 24, 2023 at 0:35 comment added lys +1 for teaching me about the existence of UUOC
Dec 24, 2017 at 21:02 comment added ilkkachu Well, none of those vulnerabilities are really related to cat, but to issues with arbitrary escape sequences being sent to the terminal.
Dec 24, 2017 at 20:54 comment added jesse_b @n.caillou huh? This will not print anything to STDOUT.
Dec 24, 2017 at 19:34 comment added n.caillou Also this puts the entire file on the command line
Dec 24, 2017 at 17:59 history edited jesse_b CC BY-SA 3.0
added 858 characters in body
Dec 24, 2017 at 17:55 review Low quality posts
Dec 24, 2017 at 17:57
Dec 24, 2017 at 17:51 comment added jesse_b Should I delete it? I definitely think Roman/your answer is the proper way to go but I know I personally like seeing alternatives, and OP did ask for echo :p
Dec 24, 2017 at 17:49 comment added Gilles 'SO- stop being evil' This mostly works, but not if there is sometimes a blank line at the end of the file and a blank line immediately before. E.g. a file with a fixed number of lines, where the last line is initially empty and is extended over time, and the next-to-last-line may sometimes be empty.
Dec 24, 2017 at 17:40 history answered jesse_b CC BY-SA 3.0