linux-l: vi subst (Punkt, Punkt, Komma, Strich, ... ;-)

Sven Guckes guckes at math.fu-berlin.de
Mi Jun 30 21:46:32 CEST 1999


* Andre Grueneberg (andre at grueneberg.de) [990619 18:41]:
>  FS>  `o &nbsp<FONT COLOR="#FF0000">-o &nbsp  &nbsp</a></FONT></FONT>
>  FS> <FONT COLOR="#A09060"> o- &nbsp &nbsp</a></FONT></FONT>
>  FS> <FONT COLOR="#0000A0"> o'</a></FONT></FONT> <br> /()\ &nbsp<FONT
>  FS> COLOR="#FF0000">/()- </a></FONT></FONT><FONT COLOR="#A09060"> -()- 
> s/&nbsp/ /g

  :%s/&nbsp/&;/g

Bei Subsitutionen ist das '&' im
Ersetzungsmuster ein Metazeichen.
Nicht vergessen: '%' als "range".
;-)

Sven

-- 
Vim it!



Mehr Informationen über die Mailingliste linux-l