r/ProgrammerDadJokes • • Jun 06 '22

I saw a Mac user amusing himself - switching between viewing text file contents through terminal and then clicking the file icon to open it.

It was a bizarre game of cat and mouse.

419 Upvotes

16 comments sorted by

83

u/johnbr Jun 06 '22

Now that's a good programmer dad joke

6

u/Fun_Childhood_6261 Jun 06 '22

Not very many of these actually make me shake my head and go "c'mon duuuuuude."

Well done, my friend! Best dad joke I've seen here in a while!

4

u/existential_issue Jun 06 '22

Thanks, I appreciate that!

2

u/SAI_Peregrinus Jun 06 '22

The "Mac user" bit is a tad unnecessary. Nothing in the rest of the joke is Mac-specific.

Otherwise, terrible pun. Take your upvote!

3

u/existential_issue Jun 06 '22

Thanks! I wanted to hint at a unix-based system for that cat command. Plus, a Mac user’s more likely to also be using icons over a hardcore guy living on a server (though I’m a while removed from any of my Unix days). Appreciate the comment!

2

u/SAI_Peregrinus Jun 06 '22

On Windows, in the Windows Terminal:

PS F:\Temp> echo "this is a test" >test.txt 
PS F:\Temp> cat test.txt
this is a test
PS F:\Temp>

Windows/Mac/Linux with any GUI/any BSD with any GUI, etc, all work for the joke!

1

u/existential_issue Jun 06 '22

Ahh, Powershell, yes. I generally think of DOS and ‘type’.

5

u/baconbrand Jun 06 '22

This sub been putting out some real bangers lately

3

u/FoxyFreckles1989 Jun 06 '22

Lmao! This gave me an honest chuckle. (I’ve also admittedly done this before.)