The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 06-24-2009
ScKaSx ScKaSx is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 17
Thanks guys, afew more questions.

Just curiousity but what is :g//d (is it part of substitution)

As for the \(..\) that was a regular expression capture that I forgot to take out.

As for the s/.*//g what do you mean?

If instead of deleting \begin{} but rather replace it which say "%" what would be a good way of doing that with substitution?

When I try
Code:
:%s/\([\\item]\)/%/g
it does what scottn says and replaces alot of things. I guess I'm alittle confused on the notation for regular expressions.

Cheers

Last edited by ScKaSx; 06-24-2009 at 05:37 PM..