Comments (7)
- The concatenation order can be adjusted for the delimiter.
- How do you think about to mark any field as βinactiveβ by default?
from mtr.
I think the default "field list" contains "spacer" so it prints that field in the results. And it puts a header on top. It takes a lot of code to fix that and it is currently "ok" in that an empty field prints with an empty header.
from mtr.
β¦ it is currently "ok" in that an empty field prints with an empty header.
I disagree with this detail because I observed that the column numbers would be different between the header and subsequent record sets.
from mtr.
Make it easy for me to verify that. Paste output here.
from mtr.
Do you find a test command (like the following) helpful for further clarification of involved issues?
Sonne:β¦/Bau/mtr/console # my_file=/tmp/mtr-test-20220914.csv && ./mtr --report-cycles 2 --csv localhost > ${my_file} && head -n 1 ${my_file} | tr ',' '\n' | wc -l && tail -n 1 ${my_file} | tr ',' '\n' | wc -l
β¦
from mtr.
I'm going to agree that it is /not/ ok to have empty fields. the CSV output is useful for programmatic uses and having a literal space as a header 1. doesn't even really make sense to begin with, and 2. can cause weirdness with tools farther down the pipeline.
from mtr.
Stuff seems to align correctly. There is just a , at the end of the header line.
If you provide a patch to remove that , I'll accept it.
If you provide a patch to remove the empty header and "0" column below it, I'll accept it.
from mtr.
Related Issues (20)
- Optimise data processing for output of βOKβ
- Delete questionable loop at the beginning of csv_close()
- Disable ASN lookup
- Why read pipe nothing in Go, but ok in Java?HELP!!! HOT 14
- Delete an unnecessary assignment statement from parse_arg() HOT 1
- Ring a "bell" in case of packet loss? HOT 5
- Incorrect behaviour when network connection is changed while mtr is run
- why the snt's num is different HOT 1
- Forced IPv6 and json output doesn't work HOT 5
- cygwin 3.4.6 failure starting overlapped thread pipe read (code 232) HOT 6
- Feature request: mapping mode HOT 28
- CygWin build broken pipe problem HOT 2
- Running 'mtr -r www.google.com -c 1' leads to segmentation fault HOT 2
- Issue for `mtr-packet` while building customized version of mtr
- mtr with unspecified destination HOT 2
- Windows 11 x64 installation HOT 4
- --psize option to randomize packet size
- on cygwin build error HOT 1
- Using the -f option changes the packet rate. HOT 1
- Next release
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 mtr.