regexp-cut VS tac

Compare regexp-cut vs tac and see what are their differences.

regexp-cut

Use awk to provide cut like syntax for field extraction (by learnbyexample)

tac

A high-performance, cross-platform file reverse utility (by neosmart)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
regexp-cut tac
4 2
15 108
- -0.9%
1.8 4.3
almost 3 years ago 4 months ago
Shell Rust
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

regexp-cut

Posts with mentions or reviews of regexp-cut. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-08-26.
  • Ask HN: What do you use to make CLIs?
    9 projects | news.ycombinator.com | 26 Aug 2022
    I use a lot of CLI tools, but haven't written many for myself. Mostly, aliases/functions and some scripts in Bash/Python.

    Extract details for command options from man/help: https://github.com/learnbyexample/command_help/blob/master/c...

    cut-like syntax for field manipulations with regexp, negative indexing, etc: https://github.com/learnbyexample/regexp-cut/blob/main/rcut

    simple calculator using python syntax: https://learnbyexample.github.io/practice_python_projects/ca...

  • Tuc – When cut doesn’t cut it
    5 projects | /r/commandline | 13 Jun 2022
    rcut - my own bash+awk script, supports regexp delimiters, field reordering, negative indexing, etc
  • Tuc – when cut doesn’t cut it
    7 projects | news.ycombinator.com | 13 Jun 2022
    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

  • Show HN: Hck – a fast and flexible cut-like tool
    2 projects | news.ycombinator.com | 10 Jul 2021
    I saw about `hck` recently on twitter, was impressed to see support for compressed files. From the current todo list, I hope complement is implemented for sure.

    I see Negative index is currently "unlikely". I'm writing a similar tool [0], but with bash+awk. I solved the negative index support with a `-n` option, which changes the range syntax to `:` instead of `-` character.

    My biggest trouble came with literal field separator [1], because FS can only be specified as a string in awk and backslash is a metacharacter for both string and regexp.

    [0] https://github.com/learnbyexample/regexp-cut

    [1] https://learnbyexample.github.io/escaping-madness-awk-litera...

tac

Posts with mentions or reviews of tac. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-09-27.
  • TV is a cross-platform CSV pretty printer made to maximize viewer enjoyment
    19 projects | news.ycombinator.com | 27 Sep 2021
    cat just regurgitates the contents of the file, but the resulting piped fd is non-seekable. Since almost every command that can operate on a file from stdin can also operate on the file by name/path, at best this is just a needless invocation of a process (i.e. `tv foo.csv` should have been used instead of `cat foo.csv | tv`) - if the app in question can't handle paths, then you can have the shell pipe the file into it instead (e.g. `tv < foo.csv`). At worst, the recipient program would need to buffer the entire contents of the input if it needs to perform non-sequential operations on the source data - this is the case with things like `tac` that need to seek to the end of the input (see https://github.com/neosmart/tac for how `cat foo | tac` requires buffering but both `tac foo` and even `tac < foo` don't).
  • Show HN: Hck – a fast and flexible cut-like tool
    2 projects | news.ycombinator.com | 10 Jul 2021

What are some alternatives?

When comparing regexp-cut and tac you can also consider the following projects:

tuc - When cut doesn't cut it

tidy-viewer - 📺(tv) Tidy Viewer is a cross-platform CLI csv pretty printer that uses column styling to maximize viewer enjoyment.

hck - A sharp cut(1) clone.

ngrid - It's "less" for data!

evolution-mail-filter-clamav - ClamAV email filter for Evolution

csv123 - CSV 1-2-3 - A CLI viewer for .csv files

neofetch - 🖼️ A command-line system information tool written in bash 3.2+

coreutils - Core utils re-implementation for UNIX/UNIX-like systems written in Rust

keygen-cli - Official command line tool for publishing releases to Keygen's distribution API.

xsv - A fast CSV command line toolkit written in Rust.

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

murex - A smarter shell and scripting environment with advanced features designed for usability, safety and productivity (eg smarter DevOps tooling)