The temptation of writing shell scripts, illustrated

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
  • Poetry

    Python packaging and dependency management made easy

  • I would use Python much less often if it weren’t for Poetry [1], but with it I’ve never had a colleague fail to get a script running.

    [1] https://python-poetry.org/

  • ngs

    Next Generation Shell (NGS)

  • It is now the niche of Next Generation Shell. Totally not humble and biased opinion... maybe. You are very welcome to make your own judgement - https://ngs-lang.org/

  • 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
  • xonsh

    :shell: Python-powered, cross-platform, Unix-gazing shell.

  • Not sure if someone mentioned it already, but for such use cases Xonsh[1] is amazing.

    It allows you to use shell stuff in a python script. Basically it allows you to use the best of both worlds, i. e. you can use python for the logic flow while retaining all your quick shell oneliners when neede. And it makes this interaction of python and shell super convenient, i. e. run your oneliner but process its output with python. Much faster than coding everything in python or in shell.

    [1]: https://xon.sh/

  • abs

    Home of the ABS programming language: the joy of shell scripting.

  • That's cool. I'm curious how it differs from e.g. ABS...

    https://www.abs-lang.org/

    It was enjoyable to use for a project recently.

  • crystal

    The Crystal Programming Language

  • And if you're conflicted between thinking both they and "but go is nice and static and free of runtime", you can look at https://crystal-lang.org/ Ruby syntax with static compilation for your tools.

  • zx

    A tool for writing better scripts

  • Has anyone else used https://github.com/google/zx here?

    I've started using that instead of bash script and js/node/deno scripts. it's kind of a nice combination of things.

    the only pain with this is writing to files. > doesn't just work.

  • ShellCheck

    ShellCheck, a static analysis tool for shell scripts

  • That's easily solved with http://www.shellcheck.net/

  • 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.

    InfluxDB logo
  • freebsd-update-probe

  • I loathe nearly all man pages, they are written in a manner that is as over the top and an absolute chore to digest. I believe it is a form on programmer one-upmanship, it is largely unnecessary and stalls common usage massively.

    I made this recently and tried very hard to make it so that the vast majority of people that could use the command line could grasp what it did, usage is trivial:

    https://github.com/tux2bsd/freebsd-update-probe

    I guess what I'm saying is I like documentation written for humans (which you do).

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