Hacker News new | past | comments | ask | show | jobs | submit login
The vi editor causes brain damage [2007] (lwn.net)
7 points by anon1385 on Aug 27, 2013 | hide | past | favorite | 10 comments



Not anymore:

    $ mkdir bar
    $ cd bar
    $ for i in {1..40000};do touch $i;done # create 40k files
    $ rm *
    $ # no warning
But it has nothing to do with `rm` itself, it was due to the fact that the glob expansion was done by Bash.


Apparently a kernel fix was the cure: http://article.gmane.org/gmane.linux.kernel/571954 and the patches are at: https://lkml.org/lkml/2007/6/13/67


I clicked the link with excitement that this was some sort of intellectual discourse on implication on brain of stationary posture while computing(i.e., not moving hands away from keyboard for a very long time).

I am disappointed.


Wouldn't rm as part of GNU binutils, be more likely written in Emacs?


This behavior is encountered whenever * is expanded by the shell and has nothing to do specifically with vi or rm.

I also fail to see how posting a troll comment from a mailing list from a person who fundamentally doesn't understand the *nix CLI environment belongs here.


Just find . -type f -exec rm -f {} \; I had to do this when I had to delete millions of cache files and rm couldn't do that.


There are good arguments against vi, its variations and descendants. This isn't one of them.


I kinda think that a solid argument wasn't the point.


Yep, I noticed it was more of a rant than an essay.


i tried to google this dude and found what could be his website, but when I click on it, my company network blocks me and says it has nudity




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: