Path to this page:
./
textproc/tuc,
When cut doesnt cut it
Branch: CURRENT,
Version: 1.2.0,
Package name: tuc-1.2.0,
Maintainer: pintuc (when cut doesn't cut it)
We've all been there. You want to cut some string on a delimiter repeated in
a non-deterministic way. Maybe you even want to use negative indexes or replace
the delimiters in the cut part with something else... That's where tuc can help.
Required to build:[
lang/rust]
Master sites:
Filesize: 57.006 KB
Version history: (Expand)
- (2024-01-02) Updated to version: tuc-1.2.0
- (2023-12-03) Updated to version: tuc-1.1.0
- (2023-03-01) Updated to version: tuc-1.0.0
- (2023-01-05) Updated to version: tuc-0.11.0nb1
- (2023-01-02) Updated to version: tuc-0.11.0
- (2022-06-09) Updated to version: tuc-0.8.0
CVS history: (Expand)
2024-01-02 17:02:44 by pin | Files touched by this commit (3) | |
Log message:
textproc/tuc: update to 1.2.0
[1.2.0] - 2024-01-01
- feat: new option --json to format output as JSON array
- feat: -r can be used when cutting --characters. It replaces the (empty)
delimiter between characters with whatever you provided
- feat: exit early when some combinations of fields cannot be used together
- feat: updated dependencies. In particular the regex crate which offers new
functionalities (word boundary assertions)
- fix: field formatting is now applied to field 1 even if no delimiters are
found (similar to how we print the unformatted field 1)
- doc: many error messages have been rewritten for better clarity
- doc: new svg demo in the README
|
2023-12-02 23:12:46 by pin | Files touched by this commit (3) | |
Log message:
textproc/tuc: update to 1.1.0
[1.1.0] - 2023-12-02
feat: no more need to pass --join when using --replace, it's implied
feat: new error messages when applying some incompatible options
doc: improved documentation, help, man page
doc: mention that --regex requires an argument
test: improved test coverage
fix: better error message when --regex argument is missing
|
2023-02-28 23:38:42 by pin | Files touched by this commit (3) | |
Log message:
textproc/tuc: update to 1.0.0
[0.11.0] - 2022-06-20
- fix: --lines could throw out of bounds with -f 1: in some situations
- chore: dependency updates
- doc: fixed typos
- doc: new section about community-managed install methods (macports)
- doc: man page generated using the mode modern pandoc 2.5
|
2023-01-05 15:13:13 by Thomas Klausner | Files touched by this commit (2) |
Log message:
tuc: add man page to PLIST
Bump PKGREVISION.
|
2023-01-02 13:54:00 by pin | Files touched by this commit (3) | |
Log message:
textproc/tuc: update to 0.11.0
[0.11.0] - 2022-06-20
fix: --lines could throw out of bounds with -f 1: in some situations
chore: dependency updates
doc: fixed typos
doc: new section about community-managed install methods (macports)
doc: man page generated using the mode modern pandoc 2.5
[0.10.0] - 2022-06-13
breaking: -E is now an option (-e), and accept the regex as value
doc: added man page
doc: improved documentation
chore: updated pico-args
[0.9.0] - 2022-06-05
breaking: --lines output each bound on their own line
feat: --regex support
feat: minor tuning of buffers
feat: internal improvements for --lines
fix: right side of a range can be negative
fix: emit proper error if right side of a range is behind left side
fix: --lines with negative indexes were broken
fix: --greedy-delimiter was cutting wrongly lines starting with delimiter
|
2022-06-09 09:58:58 by pin | Files touched by this commit (3) |
Log message:
textproc/tuc: downgrade to 0.8.0
0.9.0 requires rust-1.61
|
2022-06-07 12:13:04 by pin | Files touched by this commit (3) | |
Log message:
textproc/tuc: update to 0.9.0
[0.9.0] - 2022-06-05
-breaking: --lines output each bound on their own line
-feat: --regex support
-feat: minor tuning of buffers
-feat: internal improvements for --lines
-fix: right side of a range can be negative
-fix: emit proper error if right side of a range is behind left side
-fix: --lines with negative indexes were broken
-fix: --greedy-delimiter was cutting wrongly lines starting with delimiter
|
2022-05-24 10:55:39 by pin | Files touched by this commit (2) | |
Log message:
textproc/tuc: update to 0.8.0
[0.8.0] - 2022-05-23
Add support for --greedy-delimiter
Bounds can be formatted
Major refactoring for better code maintainability
|