Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

How to grep the output lines with "."?

Status
Not open for further replies.

raghda_alsayed

Newbie level 6
Joined
Apr 30, 2006
Messages
13
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,342
HI ALL

i have a problem when copmaring two files with diff command the outbut is like that

2,3
123456.30
123456.31
123456.32
8,7
123456.34

i just want to grep the the lines that containes "."
knowing that i try grep '*.*' and grep '.' and grep '??????.??'
:( unfortunaly i did not get the answer i need
if any one have a solution plz help
regards
 

revwest

Newbie level 2
Joined
Aug 1, 2007
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,301
how to grep this

I think you need to treat it as special character and grep \.

diff file1 file2 | grep \.
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top