Tech News
← Back to articles

Modernish – A library for writing programs for POSIX-based shells and utilities

read original related products more articles

Releases

For code examples, see EXAMPLES.md and share/doc/modernish/examples

modernish – harness the shell

Sick of quoting hell and split/glob pitfalls?

Tired of brittle shell scripts going haywire and causing damage?

Mystified by line noise commands like [ , [[ , (( ?

, , ? Is scripting basic things just too hard?

Ever wish that find were a built-in shell loop?

were a built-in shell loop? Do you want your script to work on nearly any shell on any Unix-like OS?

Modernish is a library for shell script programming which provides features like safer variable and command expansion, new language constructs for loop iteration, and much more. Modernish programs are shell programs; the new constructs are mixed with shell syntax so that the programmer can take advantage of the best of both.

... continue reading