NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
here's some small improvements (Score:2)
The "r" is useful to change one character ("R" will overwrite a bunch of chars, it's like insert mode but overwrites).
The "ddp" switches the current line with the next. It is a variant on the very useful (especiall
vi is like perl (Score:2)
I found that my initial use of vi was adequate, but that every 6 months or a year I would read through the vi manual and pick a few more useful idioms and add them to the set that I knew well enough to use without thinking. After a few years of this, my vi repertoire was large enough that most of the new idioms I tried to learn were not useful often enough - by the next time I had a good reason to use one of them, I had forgotten it - so that I wasn't learning much more. So I dropped it down to every few years I would reread the manual (like when a new vi-lookalike comes along - like vim).
Reply to This
Parent