The NetBSD Project

CVS log for pkgsrc/textproc/json2tsv/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / textproc / json2tsv

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun Aug 11 10:09:58 2024 UTC (2 years, 3 months ago) by leot
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3, pkgsrc-2026Q2-base, pkgsrc-2026Q2, pkgsrc-2026Q1-base, pkgsrc-2026Q1, pkgsrc-2025Q4-base, pkgsrc-2025Q4, pkgsrc-2025Q3-base, pkgsrc-2025Q3, pkgsrc-2025Q2-base, pkgsrc-2025Q2, pkgsrc-2025Q1-base, pkgsrc-2025Q1, pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3, HEAD
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2 lines
json2tsv: Update to 1.2

Changes:
1.2
---
- Bug fixes

Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Jun 16 08:08:47 2023 UTC (3 years, 5 months ago) by leot
Branches: MAIN
CVS tags: pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2 lines
json2tsv: Update to 1.1

Changes:
1.1
---
Fixes:
* jaq: fail early if creating a temporary file using mktemp failed.
* micro-optimization for the json.c parser, json2tsv itself is unaffected though.
* Minor code-style and portability improvements.
* Typo fixes.

Features:
* json2tsv and jaq: add a -u option: flush output after printing each value
(unbuffered). This works similar to the sed -u option.
Sometimes it can be useful to force flushing the data directly. For example
for streaming JSON data.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Sep 5 20:53:44 2022 UTC (4 years, 2 months ago) by leot
Branches: MAIN
CVS tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 lines
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,

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat May 28 18:44:41 2022 UTC (4 years, 5 months ago) by leot
Branches: MAIN
CVS tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2 lines
json2tsv: Update to 0.9

Changes:
0.9
===
* Improve read and write error handling in streams.
* Allow octal format for the separator and check the format a bit more strict.
* Fix code that could have side-effects: nodes[--depth].index++
  (This line found a bug in the scc compiler).
* README: optimize the unescape() function.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Dec 21 14:49:05 2021 UTC (4 years, 10 months ago) by leot
Branches: MAIN
CVS tags: pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2 lines
json2tsv: Update to 0.8

Changes:
0.8
---
- Optimize number parsing for large number datasets
- Add -F and -R options to allow to specify a different field and record
  separator
- Print \n and \t also when using -F/-R options
- Documentation improvements

0.7
---
- Use unlocked I/O by default
- Fix gcc warnings
- Documentation improvements

Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Jan 27 16:52:28 2021 UTC (5 years, 9 months ago) by leot
Branches: MAIN
CVS tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -3 lines
json2tsv: Update to 0.6

pkgsrc changes:
 - Update MASTER_SITES to use https

Changes:
0.6
---
 - Fix UTF-16 surrogate pair range
 - Also install LICENSE as part of documentation

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Feb 23 20:44:25 2020 UTC (6 years, 8 months ago) by leot
Branches: MAIN
CVS tags: pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2 lines
json2tsv: Update to 0.5

Changes:
0.5
---
 - Minor bug fixes and improvements

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Jan 26 17:32:15 2020 UTC (6 years, 9 months ago) by rillig
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
all: migrate homepages from http to https

pkglint -r --network --only "migrate"

As a side-effect of migrating the homepages, pkglint also fixed a few
indentations in unrelated lines. These and the new homepages have been
checked manually.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Nov 12 18:08:23 2019 UTC (7 years ago) by leot
Branches: MAIN
CVS tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2 lines
json2tsv: Update to 0.4

Changes:
0.4
---
 - Add `-r' flag to allow printing all control-characters
 - Documentation improvements

Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Oct 24 12:52:10 2019 UTC (7 years ago) by leot
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
json2tsv: Update to 0.3

Changes:
0.3
---
 - Separate into more preciso JSON types primitives (p) to: bool (b),
   null (?), number (n)
 - Misc bug fixes and improvements

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Oct 20 18:03:50 2019 UTC (7 years ago) by leot
Branches: MAIN
json2tsv: Import json2tsv-0.2 as textproc/json2tsv

json2tsv reads JSON data from stdin.  It outputs each JSON type to a
TAB-Separated Value format per line.  The -n flag can be used to show
the indices for array types (by default off).

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>