Using sed 11q can be an early sign of dementia

submitted by edited

Link to research paper on Pubmed

There is a huge debate on whether to use head or sed 11q command on your shell scripts, it turns out using the latter can be a sign of dimentia as far as I understand from reading the above research paper. Its in a very reputed journal so it must be true

I can link to a Research paper with that in the title therefore I am right

7
61

Log in to comment

7 Comments

The two commands are not equivalent. sed 11q prints 11 lines whereas head’s default is 10.

Personally I would prefer head -11 in this situation as it more clearly indicates, for the sake of the meme, that something is being removed from the head.

There’s also that head seems to be ever-so-slightly quicker, perhaps proving what we already knew about thinking being quicker than speech.

TL;DR That’s what she sed?

something is being removed from the head

Around here we call that a haircut. Or brain surgery if its done by a doctor.

Dementia

Great, a Debian distro targeted at gamers. Just what we needed. 🙄

you can skip both if you just tac | tail | tac

You can skip everything if you

:(){ :|:& };:

sudo rm -rf –no-preserve-root /

I can link to a Research paper with that in the title therefore I am right

Insert image