Saravanan Subbiah forced the electrons to say: > how do I delete a set of lines which matches some regular expression in > vi ??? I don't remember offhand how to do this in vanilla vi, but in most versions you can do this: :%!grep -v pattern Binand