SkillAgentSearch skills...

Modernish

Modernish is a library for writing robust, portable, readable, and powerful programs for POSIX-based shells and utilities.

Install / Use

/learn @modernish/Modernish

README

<p align="center"><strong><a href="https://github.com/modernish/modernish/releases">Releases</a></strong></p> <p align="center"><strong>For code examples, see <a href="https://github.com/modernish/modernish/blob/master/EXAMPLES.md"> <code>EXAMPLES.md</code></a> and <a href="https://github.com/modernish/modernish/tree/master/share/doc/modernish/examples"> <code>share/doc/modernish/examples</code></a> </strong></p>

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

There is no compiled code to install, as modernish is written entirely in the shell language. It can be deployed in embedded or multi-user systems in which new binary executables may not be introduced for security reasons, and is portable among numerous shell implementations. The installer can also bundle a reduced copy of the library with your scripts, so they can run portably with a known version of modernish without requiring prior installation.

Join us and help breathe some new life into the shell! We are looking for testers, early adopters, and developers to join us. Download the latest release or check out the very latest development code from the master branch. Read through the documentation below. Play with the example scripts and write your own. Try to break the library and send reports of breakage.

Table of contents

View on GitHub
GitHub Stars934
CategoryContent
Updated1mo ago
Forks24

Languages

Shell

Security Score

100/100

Audited on Feb 12, 2026

No findings