Blah003
  Home FAQ Contact Sign in
 
Advanced search
MATCHING GROUPS



more...
POPULAR GROUPS

more...

found 2 articles for 0.302 sec
2007-10-18, 08:31(-07), Michel Albert: > Ane thing I run into *very* often is the need to enumerate a set of > lines. So, assuming I have the following input: > > blah > bla > blah > blah > bla > foo > bar > baz > yoz > acme > > I would like to get the following: > > 1. blah > 2. bla > 3. blah > 4. blah > 5. bla > 6. foo > 7. bar > 8. baz > 9. yoz > 10. acme :%%!awk '{print     

Group: comp.editors · Group Profile · Search for Blah003 in comp.editors
Author: Stephane CHAZELAS
Date: Oct 18, 2007 08:56

Ane thing I run into *very* often is the need to enumerate a set of lines. So, assuming I have the following input: blah bla blah blah bla foo bar baz yoz acme I would like to get the following: 1. blah 2. bla 3. blah 4. blah 5. bla 6. foo 7. bar 8. baz 9. yoz 10. acme Is there a way doing this using column-visual mode (CTRL+V) ? And then doing a replace? This I do quite
Show full article (1.18Kb) · Show article thread
    

Group: comp.editors · Group Profile · Search for Blah003 in comp.editors
Author: Michel Albert
Date: Oct 18, 2007 08:31

Show full article (0.98Kb)