Don't ask to ask, just ask | |
PerlMonks |
Re^2: question for perl book & magazine authorsby chester (Hermit) |
on Oct 19, 2005 at 21:57 UTC ( [id://501444]=note: print w/replies, xml ) | Need Help?? |
In vim, the command :g/re/p (where g means "global", re is clearly "regex" and p means "print") will find all lines matching the regex and print them in a list. This was apparently true of vim's predecessors as well, but it's still a valid (and useful) command in vim today. See also Wikipedia.
In Section
Seekers of Perl Wisdom
|
|