MAD Bugs: Even "cat readme.txt" is not safe when using iTerm2

1 Like

Interesting… Though, I do wonder what the usecase for using cat on a single file without adding content or ā€˜concatenating’ is when less and more exist.

cat is simpler, easier to integrate into scripts, preserves raw bytes, is easier to use for small files etc. Last but not least most people are just taught to use cat.

2 Likes

Yeah, I do suppose it makes sense for scripts, and is how I was taught. For some reason I just find it odd/interesting when I see a cat command wit just a single filename specifically :sweat_smile:

There’s no right and wrong way. I use it for reading small files more than I use it for anything else. I suspect this is the norm. It’s way easier than using a text editor to read.

Yeah, anything past ~20 lines I tend to use less/system pager or an editor to view the file.