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

all 6 comments

sorted by: hot top controversial new old
[–] 26 points 8 months ago (1 child)

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?

  • source
  • hideshow 1 child comment
  • [–] 21 points 8 months ago

    Dementia

    Great, a Debian distro targeted at gamers. Just what we needed. πŸ™„

  • source
  • [–] 12 points 8 months ago (1 child)

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

  • source
  • hideshow 1 child comment
  • [–] 9 points 8 months ago

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

  • source