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.

help:about a shell script

Status
Not open for further replies.

chenny

Newbie level 2
Joined
Feb 23, 2005
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,291
There is a problem: two files: file1 and file2, there are some cotent in file1 will be replaced by file2. The replaced structure as flows
module name1
.......
.......
endmodule
now, the same structure in file2 will replace that in file1. module name1/endmoule are the keys. Write a shell script to complete. Bash or c-shell. Thanks very much
 

Hi,

you can use the awk command to do that very easly.

Regards,
Shohdy
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top