Skip to content

Commit

Permalink
readme: fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
maxmouchet committed Sep 9, 2022
1 parent d725707 commit 0a71134
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
**/*.rs.bk

*.profraw
example.ndjson
example.*
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ docker run ghcr.io/dioptra-io/pantrace:main --help
```bash
# Fetch traceroute results from the RIPE Atlas API
curl -L -o example.ndjson \
"https://atlas.ripe.net/api/v2/measurements/23119200/results/?start=1625097600&stop=1625788799&format=txt&probe_ids=6479"
"https://atlas.ripe.net/api/v2/measurements/23119199/results/?start=1625097600&stop=1625788799&format=txt&probe_ids=6479"

# Convert from the standard input to the standard output
cat example.ndjson | pantrace --standalone --from atlas --to warts > example.warts
cat example.ndjson | pantrace --standalone --from atlas --to warts-trace > example.warts

# Convert from a file to a file
pantrace --standalone --from atlas --to warts --input example.ndjson --output example.warts
pantrace --standalone --from atlas --to warts-trace --input example.ndjson --output example.warts
```

0 comments on commit 0a71134

Please sign in to comment.