Hello Guilers, I'm pleased to announce Guile-DSV 0.6.0: https://github.com/artyom-poptsov/guile-dsv/releases/tag/v0.6.0
This release includes the new table formatter for the "dsv" tool that allows to fit the table into the specified width. The current terminal width is used by default. See the full list of user-visible changes below. * 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.6.0 (2023-05-14) ** =dsv= now accepts =--width= (=-w=) option This option allows to set the table width for formatting. When the width of a table cell is lesser than its content, the content is wrapped. Cell widths difference will be smoothed to make the table more balanced. When the value for the option is set to "auto" (default behavior) Guile-DSV tries to fit the table into the screen width (to get the width of the terminal the =stty= tool is used.) When the option is set to zero, no table resizing is performed thus no cell content wrapping will be done. ** Update the help output of =dsv= and its man page --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.art...@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
signature.asc
Description: PGP signature