Bash Pitfalls

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

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
  • shellcheck-repl

    Validation of Shell Commands Before Evaluation

  • Thank you, and thanks for the suggestion. Yes, it should be possible to keep the SC2154 check. I probably just disabled it as a quick fix when first started out. I'm tracking this in https://github.com/HenrikBengtsson/shellcheck-repl/issues/15.

    > You'd also want to take into account special variables like $RANDOM and $HOSTNAME, but that's pretty trivial.

    It seems like ShellCheck is already aware of these special Bash variable, e.g. 'echo $RANDOM' will not trigger SC2154 (or even SC2086 that otherwise asks you to quote variables).

  • 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
  • pure-bash-bible

    Discontinued 📖 A collection of pure bash alternatives to external processes.

  • nice thanks for sharing!

    https://github.com/dylanaraps/pure-bash-bible

    > The goal of this book is to document commonly-known and lesser-known methods of doing various tasks using only built-in bash features. Using the snippets from this bible can help remove unneeded dependencies from scripts and in most cases make them faster.

  • ShellCheck

    ShellCheck, a static analysis tool for shell scripts

  • See also:

    * https://www.shellcheck.net/ — linting tool to avoid common mistakes and improve your script

    * Bash Practices: https://mywiki.wooledge.org/BashGuide/Practices

    * Bash Pitfalls: https://mywiki.wooledge.org/BashPitfalls

    * safe ways to do things in bash: https://github.com/anordal/shellharden/blob/master/how_to_do...

    * better scripting: https://robertmuth.blogspot.in/2012/08/better-bash-scripting...

    * robust scripting: https://www.davidpashley.com/articles/writing-robust-shell-s...

  • shellharden

    The corrective bash syntax highlighter

  • See also:

    * https://www.shellcheck.net/ — linting tool to avoid common mistakes and improve your script

    * Bash Practices: https://mywiki.wooledge.org/BashGuide/Practices

    * Bash Pitfalls: https://mywiki.wooledge.org/BashPitfalls

    * safe ways to do things in bash: https://github.com/anordal/shellharden/blob/master/how_to_do...

    * better scripting: https://robertmuth.blogspot.in/2012/08/better-bash-scripting...

    * robust scripting: https://www.davidpashley.com/articles/writing-robust-shell-s...

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

  • Ask HN: A Bash guide for Posix programmers?

    1 project | news.ycombinator.com | 17 Dec 2023
  • Regex support to list modules in .cabal?

    1 project | /r/haskell | 4 Dec 2023
  • Shellcheck finds bugs in your shell scripts

    11 projects | news.ycombinator.com | 23 Nov 2023
  • Shellcheck – finds bugs in your shell scripts

    1 project | news.ycombinator.com | 6 Oct 2023
  • Ask HN: How does one practice day to day shell scripting

    2 projects | news.ycombinator.com | 23 Sep 2023