From: poptsov.artyom@gmail.com (Artyom V. Poptsov)
To: Guile Users' Mailing List <guile-user@gnu.org>
Subject: [ANN] Guile-DSV 0.4.1 released
Date: Sat, 11 Dec 2021 12:08:50 +0300 [thread overview]
Message-ID: <87wnkb5x0d.fsf@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3419 bytes --]
Hello Guilers,
I'm pleased to announce Guile-DSV 0.4.1:
https://github.com/artyom-poptsov/guile-dsv/releases/tag/v0.4.1
The main changes in this release are related to the 'dsv' tool: now it
allows to print the DSV data as fancy tables using extended table
parameters and table presets. See the full list of user-visible changes
below.
Examples:
--8<---------------cut here---------------start------------->8---
$ echo -e "a1,b1,c1\na2,b2,c2\n" | dsv -D, -b "ascii"
.-----------------------------.
| a1 | b1 | c1 |
|---------+---------+---------|
| a2 | b2 | c2 |
'-----------------------------'
$ echo -e "a1,b1,c1\na2,b2,c2\n" | dsv -D, -b "graphic"
┌─────────┬─────────┬─────────┐
│ a1 │ b1 │ c1 │
├─────────┼─────────┼─────────┤
│ a2 │ b2 │ c2 │
└─────────┴─────────┴─────────┘
$ echo -e "a1,b1,c1\na2,b2,c2\n" | dsv -D, -b "graphic-bold"
┏━━━━━━━━━┳━━━━━━━━━┳━━━━━━━━━┓
┃ a1 ┃ b1 ┃ c1 ┃
┣━━━━━━━━━╋━━━━━━━━━╋━━━━━━━━━┫
┃ a2 ┃ b2 ┃ c2 ┃
┗━━━━━━━━━┻━━━━━━━━━┻━━━━━━━━━┛
$ echo -e "a1,b1,c1\na2,b2,c2\n" | dsv -D, -b "graphic-double"
╔═════════╦═════════╦═════════╗
║ a1 ║ b1 ║ c1 ║
╠═════════╬═════════╬═════════╣
║ a2 ║ b2 ║ c2 ║
╚═════════╩═════════╩═════════╝
--8<---------------cut here---------------end--------------->8---
Presets are installed to '$(pkgdatadir)/presets' (e.g.
'/usr/local/share/guile-dsv/presets'.)
Also please see the 'dsv --help' output for details.
* What is Guile-DSV?
Guile-DSV is a library that allows to parse Delimiter-Separated Values
format (DSV). It supports two flavors of DSV: Unix-style[1] and RFC4180[2].
Also Guile-DSV is shipped with a program named "dsv" that allows to read
and process DSV format (including delimiter change and conversion from
one standard to another.) See README file for usage examples.
* List of user visible changes
Here's an excerpt from the NEWS file:
--8<---------------cut here---------------start------------->8---
* Changes in version 0.4.1 (2021-12-11)
** Changes in the =dsv= tool
*** Allow to specify wider range of table border parameters
*** Allow to use table border presets
Currently the following presets are available:
- ascii
- graphic
- graphic-bold
- graphic-double
--8<---------------cut here---------------end--------------->8---
Thanks and happy hacking!
- Artyom
[1] http://www.catb.org/~esr/writings/taoup/html/ch05s02.html#id2901882
[2] https://tools.ietf.org/html/rfc4180
--
Artyom "avp" Poptsov <poptsov.artyom@gmail.com>
Home page: https://memory-heap.org/~avp/
CADR Hackerspace co-founder: https://cadrspace.ru/
GPG: D0C2 EAC1 3310 822D 98DE B57C E9C5 A2D9 0898 A02F
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
next reply other threads:[~2021-12-11 9:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-11 9:08 Artyom V. Poptsov [this message]
2021-12-11 11:01 ` [ANN] Guile-DSV 0.4.1 released Dr. Arne Babenhauserheide
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wnkb5x0d.fsf@gmail.com \
--to=poptsov.artyom@gmail.com \
--cc=guile-user@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).