dt

command module
v0.0.0-...-1799f6a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2022 License: MIT Imports: 5 Imported by: 0

README

dt

dt is a command line tool to aid transforming durations (typically Golang printed durations) into a normalized format that can be used for further processing.

Installation

go install github.com/jabbors/dt@latest

Example use case

Say you have to following input in a file named sample.dat and would like to know the max, min and median value

3.765963ms
1.782821ms
2.35635ms
3.14281545s
47.767401ms
3.566412ms
2.012246ms
35.296362ms
2.46694ms
3.153943706s

Then you execute

$ cat sample.dat | dt | datamash max 1 min 1 median 1
3153.943706 1.782821 3.6661875

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL