Import textproc/miller.
Miller (mlr) is like awk, sed, cut, join, and sort for name-indexed data such as CSV, TSV, and tabular JSON. You get to work with your data using named fields, without needing to count positional column indices. It is pipe-friendly and interoperates with the Unix toolkit. It operates on key-value-pair data while the familiar Unix tools operate on integer-indexed fields. This encompasses a variety of data formats, including but not limited to the familiar CSV, TSV, and JSON. (Miller can handle positionally-indexed data as a special case.) OK sthen@, solene@
This commit is contained in:
parent
9c354531c3
commit
5a9bef1aec
24
textproc/miller/Makefile
Normal file
24
textproc/miller/Makefile
Normal file
@ -0,0 +1,24 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2018/08/02 16:29:48 fcambus Exp $
|
||||
|
||||
COMMENT = name-indexed data processing tool
|
||||
|
||||
V = 5.3.0
|
||||
DISTNAME = mlr-$V
|
||||
PKGNAME = miller-$V
|
||||
|
||||
CATEGORIES = textproc
|
||||
|
||||
HOMEPAGE = https://johnkerl.org/miller/doc/
|
||||
|
||||
MAINTAINER = Frederic Cambus <fcambus@openbsd.org>
|
||||
|
||||
# BSD
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
|
||||
WANTLIB += c m
|
||||
|
||||
MASTER_SITES = https://github.com/johnkerl/miller/releases/download/v$V/
|
||||
|
||||
CONFIGURE_STYLE = gnu
|
||||
|
||||
.include <bsd.port.mk>
|
2
textproc/miller/distinfo
Normal file
2
textproc/miller/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (mlr-5.3.0.tar.gz) = vK7Wex1NTKc0JvHnGmvErUjKIq30T1eaRdL5umI93/4=
|
||||
SIZE (mlr-5.3.0.tar.gz) = 1220366
|
9
textproc/miller/pkg/DESCR
Normal file
9
textproc/miller/pkg/DESCR
Normal file
@ -0,0 +1,9 @@
|
||||
Miller (mlr) is like awk, sed, cut, join, and sort for name-indexed data
|
||||
such as CSV, TSV, and tabular JSON. You get to work with your data using
|
||||
named fields, without needing to count positional column indices. It is
|
||||
pipe-friendly and interoperates with the Unix toolkit.
|
||||
|
||||
It operates on key-value-pair data while the familiar Unix tools operate
|
||||
on integer-indexed fields. This encompasses a variety of data formats,
|
||||
including but not limited to the familiar CSV, TSV, and JSON. (Miller
|
||||
can handle positionally-indexed data as a special case.)
|
3
textproc/miller/pkg/PLIST
Normal file
3
textproc/miller/pkg/PLIST
Normal file
@ -0,0 +1,3 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2018/08/02 16:29:48 fcambus Exp $
|
||||
@bin bin/mlr
|
||||
@man man/man1/mlr.1
|
Loading…
x
Reference in New Issue
Block a user