Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Emacs[1] has been bloated with collaboration (gnus, etc) and AI features (doctor, lisp in general) for decades!

[1] Eight Megabytes and Constantly Swapping



    -rwxr-xr-x  1 root          24 Oct 29  1929 /bin/ed
    -rwxr-xr-t  4 root     1310720 Jan  1  1970 /usr/ucb/vi
    -rwxr-xr-x  1 root  5.89824e37 Oct 22  1990 /usr/bin/emacs


I'm not getting the same results for ed?

    $ whereis -b ed | cut -d' ' -f 2 | xargs ls -l
    -rwxr-xr-x 1 root root 55504 Feb 22  2020 /usr/bin/ed


Clearly it grew a lot in size since 1929. It doesn’t waste nearly that much space on my timex sinclair.

(To explain and thus ruin the joke, https://www.gnu.org/fun/jokes/ed-msg.html)


Alternative reply:

    while :; do echo ?; done
Is only 24 bytes.


But your emacs is still 5.89824 * 10^37 bytes in size like parent commenter, right?


I spent a few minutes trying to work out your pipeline. I think this is easier

    ls -l $(which ed)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: