pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/json2tsv json2tsv: Update to 1.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/9580df2ca2d8
branches: trunk
changeset: 384838:9580df2ca2d8
user: leot <leot%pkgsrc.org@localhost>
date: Mon Sep 05 20:53:44 2022 +0000
description:
json2tsv: Update to 1.0
Changes:
1.0
---
* add jaq: a convenience wrapper script:
It wraps json2tsv, sets options for handling JSON data in a lossless manner
and uses awk as a "query language".
* json2tsv.1: properly escape backslashes, thanks adc!
An example of jaq:
echo '{"url":"https://codemadness.org/"}' |
jaq '$1 == ".url" { print $3 }'
I want to also thank all people who gave feedback,
diffstat:
textproc/json2tsv/Makefile | 4 ++--
textproc/json2tsv/PLIST | 4 +++-
textproc/json2tsv/distinfo | 8 ++++----
3 files changed, 9 insertions(+), 7 deletions(-)
diffs (37 lines):
diff -r 9b1e7863c6fb -r 9580df2ca2d8 textproc/json2tsv/Makefile
--- a/textproc/json2tsv/Makefile Mon Sep 05 19:10:07 2022 +0000
+++ b/textproc/json2tsv/Makefile Mon Sep 05 20:53:44 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2022/05/28 18:44:41 leot Exp $
+# $NetBSD: Makefile,v 1.9 2022/09/05 20:53:44 leot Exp $
-DISTNAME= json2tsv-0.9
+DISTNAME= json2tsv-1.0
CATEGORIES= textproc
MASTER_SITES= https://codemadness.org/releases/json2tsv/
diff -r 9b1e7863c6fb -r 9580df2ca2d8 textproc/json2tsv/PLIST
--- a/textproc/json2tsv/PLIST Mon Sep 05 19:10:07 2022 +0000
+++ b/textproc/json2tsv/PLIST Mon Sep 05 20:53:44 2022 +0000
@@ -1,5 +1,7 @@
-@comment $NetBSD: PLIST,v 1.2 2021/01/27 16:52:28 leot Exp $
+@comment $NetBSD: PLIST,v 1.3 2022/09/05 20:53:44 leot Exp $
+bin/jaq
bin/json2tsv
+man/man1/jaq.1
man/man1/json2tsv.1
share/doc/json2tsv/LICENSE
share/doc/json2tsv/README
diff -r 9b1e7863c6fb -r 9580df2ca2d8 textproc/json2tsv/distinfo
--- a/textproc/json2tsv/distinfo Mon Sep 05 19:10:07 2022 +0000
+++ b/textproc/json2tsv/distinfo Mon Sep 05 20:53:44 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.9 2022/05/28 18:44:41 leot Exp $
+$NetBSD: distinfo,v 1.10 2022/09/05 20:53:44 leot Exp $
-BLAKE2s (json2tsv-0.9.tar.gz) = b3ff4ee2a0d954ddd1017963fc8bea24a66a5268bbb9339cb58f5a9d0284085e
-SHA512 (json2tsv-0.9.tar.gz) = 5d462cd4e88f1eceb8a305369dcba41a17a489b92ba0056fd2b86ab42502d0348ea73789cc77f91bad898165bbc1eacc3adbd0bdb5aacf03a99d22996785ee26
-Size (json2tsv-0.9.tar.gz) = 7786 bytes
+BLAKE2s (json2tsv-1.0.tar.gz) = 19f08a1e5e4cc6a4ece75b347cdc3a4626a4ab98c50d4ad7c128b44777772691
+SHA512 (json2tsv-1.0.tar.gz) = 131ebbeec3bcb6dda4298eedd1258168fae171beb93c0047a3eec78b8af13296e50c2e36f8e13327e17ffb8ea432fbb5db02a4e2083f39b35242cbd5322baa69
+Size (json2tsv-1.0.tar.gz) = 8551 bytes
Home |
Main Index |
Thread Index |
Old Index