+1 Best regards Le 12 avr. 2015 15:08, "Alessandro Selli" <alessandrose...@linux.com> a écrit :
> On 10/04/2015 at 23:06, Anselm Lingnau wrote: > > [...] > > > PS. If this is all about teaching people an editor that exists > > everywhere and works always, then we should be teaching them ed. Vi > > is for softies who can't do without a cell-addressable terminal. > > Well, one of the things that I appreciate the most of vi (and that I > train > my students on) is the possibility, within vi, to: > > 1) remove all end-of-line blank characters everywhere on the input buffer; > 2) insert a leading tab on every line that starts with an upper-case letter > from line 3 to the end-of-file; > 3) search an empty line and jump to the next one > and so on. > > Granted, vi does show it's age when it comes to user interface, but it's a > good testbed as a regular expression engine, and it's also an editor! > nano just doesn't fit as a replacement, and it's the only editor that can > be > granted to have preinstalled in most current distributions besides vi. > Plus, vi is the default editor for many commands that implicitly use one, > such as vipw, visudo or crontab -e, when neither VISUAL nor EDITOR are set > or no other relevant distribution-specific setting is configured. Pepole > ought to be ready to face the cascade of tildes neatly lined up on column > #1 > when they run such a command. > > _______________________________________________ > lpi-discuss mailing list > lpi-discuss@lpi.org > http://list.lpi.org/cgi-bin/mailman/listinfo/lpi-discuss >
_______________________________________________ lpi-discuss mailing list lpi-discuss@lpi.org http://list.lpi.org/cgi-bin/mailman/listinfo/lpi-discuss