Latest / Developer tools

tuc

github.com · Open source · Maintained

cut-like command for splitting text and reordering the parts

Visit github.com ↗Share

  • cut alternative
  • split text fields
  • shell text splitting
  • reorder columns
  • regex delimiter cut
Stars
823
Forks
16
Open issues
0
Last commit
Releases
15
Found
4 years ago

GitHub figures as of . They are context, not a ranking.

tuc is a command-line utility similar to coreutils cut that splits text or bytes into parts and reassembles them in any order. It accepts negative indexes and multi-character or regex delimiters, which suits shell users who find sed or awk awkward for simple splits.

Positioned as an alternative to cut.

Repository description on GitHub: “When cut doesn't cut it”

What it does

  • Cut-like splitting with parts referenced by negative indexes
  • Multi-character or regex delimiters
  • Reassembles selected parts in any order

Good for

  • Split log lines on a multi-character delimiter
  • Reorder fields from a text file in a shell pipeline

Suits: Shell users who find sed or awk awkward for simple splits.

What you can try

Read the README on GitHub and install from source.

Install

brew install tuc
cargo install tuc

Confirmed against the package registry. Read the project’s own instructions before running anything.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw tuc on , when riquito posted it to Show HN. The oldest published release on GitHub is v0.1.0, dated . tuc had been shipping tagged releases for 744 days before it was found. 15 releases have been published in total; the latest is v1.3.0 ().

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 241 points, 115 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 1 release shipped

  • 1 release in the first 30 days: v0.11.0 (21 Jun 2022)
  • Show HN discussion at check time: 241 points, 115 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

Releases per month, last 24 months (1 in total, busiest month 1).
  1. Repository created on GitHub: riquito/tuc
  2. Release v0.1.0
  3. Release v0.10.0
  4. Found: riquito posted it to Show HN. Show HN
  5. Release v0.11.0
  6. Release v1.0.0
  7. Release v1.1.0
  8. Release v1.2.0
  9. Release v1.3.0
  10. Day-7 check recorded by Kip (details)
  11. Day-30 check recorded by Kip (details)

Showing the first and the 6 latest of 15 releases. All releases on GitHub

Quick answers

When was tuc released?
Its first tagged release on GitHub is dated 30 May 2020. Kip found it on Show HN on 13 Jun 2022.
Is tuc open source?
Its source is public on GitHub at riquito/tuc under the GPL-3.0 licence.
What does tuc run on?
Command line.
Is tuc free?
It is open source, so the code is free to read and run; check the licence for terms.
Is tuc still maintained?
It had a commit or release in the last year, though not in the last 90 days, as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositoryriquito/tuc
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-31726472. Summary written by KipFound’s editor.

Share

Similar tools

More in Developer tools

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.