Re:macOS command-line tools you might not know about
by jmhammond on Tuesday June 27, 2023 @04:42PM
(#36498355)
My useless cat is that I always use `cat file | less` when I could just `less file`.
I've been typing cat for over 25 years. Old habits die hard.
Re:macOS command-line tools you might not know about
by rconti on Tuesday June 27, 2023 @07:07PM
(#36499959)
I hate that when I use `less`, then quit, the output goes away.
Re:macOS command-line tools you might not know about
by LgWoodenBadger on Wednesday June 28, 2023 @12:31PM
(#36508860)
You can run "less -X" for that, but it may have other problems depending on how you use less (e.g. scrolling up, etc.)
I still uselessly use cat though, it's such a nice way to build a pipeline.