Tuc – when cut doesn’t cut it

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • hck

    A sharp cut(1) clone.

  • Nice, especially the format output.

    See also:

    * hck (https://github.com/sstadick/hck) - close to drop in replacement for cut that can use a regex delimiter instead of a fixed string

    * rcut (https://github.com/learnbyexample/regexp-cut) - my own bash+awk script, supports regexp delimiters, field reordering, negative indexing, etc

  • tuc

    When cut doesn't cut it

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • choose

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

  • Seems similar in intent to choose (https://github.com/theryangeary/choose). The features outlined are very close, I just don't understand what "can split text into lines", do you mean that the selected fields can be split into lines? I guess choose supports that via `-o` (the output fields separator).

  • fd

    A simple, fast and user-friendly alternative to 'find'

  • fd has musl version

    https://github.com/sharkdp/fd/releases/download/v8.4.0/fd-mu...

  • regexp-cut

    Use awk to provide cut like syntax for field extraction

  • Nice, especially the format output.

    See also:

    * hck (https://github.com/sstadick/hck) - close to drop in replacement for cut that can use a regex delimiter instead of a fixed string

    * rcut (https://github.com/learnbyexample/regexp-cut) - my own bash+awk script, supports regexp delimiters, field reordering, negative indexing, etc

  • cargo-binstall

    Binary installation for rust projects

  • So we aren't talking past each other, how do you delineate between cargo and a package manager? Does anaconda, pip (pypi) or homebrew also qualify?

    Your scripts could have a prolog that installs rustup and calls cargo.

    There is also https://github.com/ryankurte/cargo-binstall

    Even after 20 years of bashing, my bash skills still suck. So many corner cases!

    But if you include this, and call install_utils at the head of your scripts. It should install the tools on demand.

        #!/bin/bash

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts