Hacker GitHub

← All repos

kvz/bash3boilerplate

View on GitHub ↗ ★ 2,215 Shell

Templates to write better Bash scripts

5 mentions on Hacker News by 3 people: 1 story, 4 comments · first 2016-02-16 · latest 2024-09-14

Mentions per year 5 mentions · busiest year 2024 (3)
20082026
  1. I can highly recommend using bash3boilerplate ( https://github.com/kvz/bash3boilerplate ) if you're writing BASH scripts and don't care about them running on systems that don't use BASH. It provides logging facilities with colour usage for…
  2. …fail (instead blindly moves on to the next statement). Consider using bash and these options: https://github.com/kvz/bash3boilerplate/blob/main/main.sh#L1... for most scripts.
  3. …every script you write: https://www.shellcheck.net/ Personally, I'm a big fan of BASH3 boilerplate: https://github.com/kvz/bash3boilerplate It's fine for BASH versions above v3 and provides decent logging though I typically extend the…
    comment by ndsipa_pomu · 2024-03-02 · in Bash Debugging
  4. I'm a fan of Bash3 Boilerplate ( https://github.com/kvz/bash3boilerplate ) and use a modified version of it for my shell scripts now. I like the code style and the logging, although I've amended the logging slightly to add a pipe input for…
  5. ▲ 2
    Bash3boilerplate v1.2.0 supports long option cli argument parsing
    story by kvz · 2016-02-16 · 0 comments