Comments (2)
There was one char different in one of the lines, so it should be a miss-match, but the output could be better, like:
- indent all lines equally, so they are comparable, of the two lines I needed to compare, only one of them hade a prefix " Received: ", so the one without a prefix was 12 chars off.
- if some of the rows are identical, hide them or otherwise mark them as uninteresting.
from dns_compare.
Partialy solved with PR 4
If the DNS-response have at least 2 rows, the there is a line-break between the header/prfix and the result, so that all results (dns and zone-file) start at the same position. (0 indentation).
But if zone-file has at least 2 rows and DNS-respone only have one row, the output is not changed,
the header/predix still shares the line with the first result.
TODO:
- use seprate lines also in the case 1/2 mention above
- Show the number of results, if the zone-file has 49 rows, and the dns-result have 47, a row showing thus 2 numbers may be helpsome
- compare lines, and mark up lines that are same, either hide lines that are same, or prefix lines using symbols like "=" same, "+" missing in zone-file, "-" missing at dns
from dns_compare.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dns_compare.