nowfound

Work · June 13, 2022

Tuc – When cut doesn’t cut it

Announcing `tuc`, a utility similar to coreutils `cut`, but more powerful. It allows to split text or bytes into parts and reassemble them in any order. I always found `cut` very practical for some tasks where `sed` or `awk` were overkill or awkward to use, but I also felt the need for more features. Some key differences from `cut`: - parts can be referenced by negative indexes - delimiters can be any number of characters long, or match a regex - can split text into lines, and reassemble them

Tuc – When cut doesn’t cut it launched on June 13, 2022 with 241 votes, #88 of 3,005 launches that month and more than 95% of that year's launches. The site was still online in September 2026, 4 years on.

Visit github.com ↗Alternativestop 3% of June 2022

In plain words

Tuc is a command-line utility for splitting and reassembling text or bytes, designed as a more capable alternative to the standard cut tool. It allows users to reference parts by negative indexes, use multi-character or regex-based delimiters, and reorganize extracted segments in any order. The tool targets developers and system administrators who need text manipulation more flexible than cut but simpler than sed or awk.

written from the facts on this page · September 2026

From the sources

When cut doesn't cut it. Contribute to riquito/tuc development by creating an account on GitHub.

Does a similar job

all alternatives →
  • Choose – An alternative to cut and sometimes awk2020 · github.com · ▲87

    A human-friendly and fast alternative to cut (and sometimes awk) - theryangeary/choose

  • Hck – a fast and flexible cut-like tool2021 · github.com · ▲151

    A sharp cut(1) clone. Contribute to sstadick/hck development by creating an account on GitHub.

  • Transductive regular expressions for text editing2025 · github.com · ▲263

    An extension of regular expressions for text editing, with a grep-like command-line tool. If you, like me, struggle with group logic in regular expressions, you might find it useful. I wanted to do this for a very long time. It is more of a sketch or prototype. I'd really appreciate your feedback!

  • Xplr – A hackable, minimal, fast TUI file explorer2021 · github.com · ▲205

    A hackable, minimal, fast TUI file explorer. Contribute to sayanarijit/xplr development by creating an account on GitHub.

  • Interactive exercises for Linux CLI text processing commands2022 · github.com · ▲69

    Last month, I started learning a Python TUI framework called Textual. After working on a 4x4 board game, I made an interactive app to test your CLI text processing skills with 40 beginner to intermediate level exercises. The app is fairly basic in terms of features — only single input file, so no stdin data, multiple files, etc. Most of the exercises in this app is based on my Computing from the Command Line ebook (https://learnbyexample.github.io/cli-computing/preface.html). I hope to improve the TUI app to support all the 200+ exercises sometime next year.

  • Textual Markdown – a Markdown “browser” in the terminal2022 · github.com · ▲254

    Hi HN, This is a TUI app which displays interactive Markdown documents. Interactive in the sense that you can scroll code fences / tables / and click links. There's a Table of Contents extracted from the MD, and a very rudimentary browser like forward + back. I'm thinking it could be the starting point for a variety of hypertext like applications in the terminal. Very much a work in progress.

More work this month

the category →

Source: Show HN post ↗

Launched alongside, June 2022

the whole month →
  • AF

    I've seen some interests in (simulation) video games here on HN so I thought I'd share a short version of our story. More than 6 years ago, me and my friend from university were playing around with an idea of making a game we always wanted to play. We worked on it on weekends but the progress was quite slow, especially due to so many dead ends and wasted effort. Eventually however, we solidified our direction and decided to take the risk to resign from our well paid SWE jobs and work on it full time. It took more than a year but yesterday we have finally released it on Steam:…

    Life & fun · 2022

  • Life & fun · 2022 · benoitessiambre.com

  • min(DALL·E) is a fast, minimal port of DALL·E Mini to PyTorch - kuprel/min-dalle

    Life & fun · 2022 · github.com

  • 1,100+ free Figma icons for modern UI design.

    Dev tools · 2022 · untitledui.com

  • MakerBox▲621

    600 tools with generous free plans for indie entrepreneurs

    Dev tools · 2022 · makerbox.club

  • Display your Notion data beautifully on your site, no-code

    Dev tools · 2022 · typedream.com