Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Using the grep command in GVIM

Status
Not open for further replies.

davyzhu

Advanced Member level 1
Joined
May 23, 2004
Messages
494
Helped
5
Reputation
10
Reaction score
2
Trophy points
1,298
Location
oriental
Activity points
4,436
Hi all,

In "Seven habits of effective text editing" by Bram Moolenaar, there is "find all occurrences of a name in a group of files, using the :grep command".

But how to build a group of file, shall I write a file list?
And is there any convenient way in GVIM?

Thanks!
Davy
 

Re: grep in VIM?

He is just saying: if you want to find a pattern in many files, you can use unix command "grep" to find them.
for example,
>grep aaa *.txt
finds all occurence of string "aaa" in text files under working directory.
 

    davyzhu

    Points: 2
    Helpful Answer Positive Rating
Re: grep in VIM?

Hi,
If you are migrating from Windows based OS then you can get the analogy as grep is same as
Find text with particular phrase or word.

Syntax will be same as described above.

Thanks
Shaikh Sarfraz
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top