[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [VI] Fjernelse af efterfølgende whitespaces?



sslug@sslug writes:

> On Thu, 27 Feb 2003, Jesper Krogh wrote:
>
> > Jeg troede egentligt at man kunne lave regex-search-and-replace
> > med
> > vi's:
> >
> > :1,$s/regex//g
>
> range'en 1,$ angiver kun een linie, hvis du vil søge og erstatte i
> hele
> filen kan du bruge %:

nej 1,$ == %
fra `vim -c "h range"`:
%               equal to 1,$ (the entire file)

--
Rasmus Meldgaard

Jeg har den dybeste medlidenhed med den som kun har fantasi til at
stave et ord på een måde.
        -- Mark Twain


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 18:44 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *