A shell command to create JSON: jo
It gets merrier if an element contains an environment variable: open double, close single, add variable, open single, blergh. Bam! Jo tries to be clever about types and knows null, booleans, strings and numbers. It does arrays, and it pretty-prints on demand:
—
https://jpmens.net/2016/03/05/a-shell-command-to-create-json-jo/
Wordle in less than 50 lines of
Wordle in less than 50 lines of Bash
How to use: ./wordle.sh Or try the unlimit mode: ./wordle.
—
https://gist.github.com/huytd/6a1a6a7b34a0d0abcac00b47e3d01513
toolbox – A module framework for
toolbox – A module framework for Bash
Have you ever written a shell script and found yourself thinking “if only the Bash had an include mechanism”, while copy-pasting the command line parser you wrote for a different shell script? Then you should try toolbox for your next shell script!
—
https://github.com/m10k/toolbox
dave yarwood · 10 Bash quirks an
dave yarwood · 10 Bash quirks and how to live with them
It’s a quirky little language with many subtleties that make it all too easy to make mistakes.
—
https://blog.djy.io/10-bash-quirks-and-how-to-live-with-them/
e – a smart wrapper for $EDITOR
e – a smart wrapper for $EDITOR
e(1) is a smart wrapper for $EDITOR written in Bourne shell. It enhances any editor with some user friendly features described below. The command (or command line) wrapped around and invoked by this wrapper.
—
https://github.com/knu/e
More shell, less egg
More shell, less egg
My TextExpander/shell script post of last week reminded me of Doug McIlroy and some unfinished business from back in October. So let’s talk about shell scripts and Unix again.
—
http://www.leancrew.com/all-this/2011/12/more-shell-less-egg/
petopts
petopts
Portable and simple option parsing, powered by getopts(1p). Add the content of petopts.sh to the top of your script and change the 3 variables at the top. The variables are:
—
https://github.com/aaronNGi/petopts
Make bar charts on the terminal.
Make bar charts on the terminal.
BARCHART ======== This program makes bar charts. For example, take this file ‘data’: 33 This is a label 0 This is another 100 80 The line above had no label Running ‘.
—
https://github.com/TurkeyMcMac/barchart
# Welcome to Bashly
# Welcome to Bashly
Bashly is a command line application (written in Ruby) that lets you generate feature-rich bash command line tools.
—
https://bashly.dannyb.co/
Bash Cache
Bash Cache
Bash Cache provides a transparent mechanism for caching, or memoizing, long-running Bash functions. Although it can be used for scripting its motivating purpose is to cache the results of expensive commands for display in your terminal prompt. Simply source bash-cache.sh into your script or shell.
—
https://github.com/dimo414/bash-cache