Using sed 11q can be an early sign of dementia

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

60 points · 7 comments · view on lemmy.world

7 Comments

palordrolap@fedia.io · 29 pts · 172d (1 reply)

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?

the_crotch@sh.itjust.works · 4 pts · 172d

something is being removed from the head

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

TheTechnician27@lemmy.world · 23 pts · 172d

Dementia

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

CallMeAl@piefed.zip · 13 pts · 172d (2 replies)

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

FauxLiving@lemmy.world · 7 pts · 172d (1 reply)

You can skip everything if you

:(){ :|:& };:
30p87@feddit.org · 1 pts · 170d

sudo rm -rf --no-preserve-root /

mlg@lemmy.world · 10 pts · 172d

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