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

  • palordrolap@fedia.io
    link
    fedilink
    arrow-up
    22
    ·
    11 hours ago

    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
      link
      fedilink
      English
      arrow-up
      3
      ·
      8 hours ago

      something is being removed from the head

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