RECENT POSTS
- Introduction to FreeBSD Security Best Practices
- Working with Package Management in FreeBSD
- Understanding FreeBSD Security Advisories and Updates
- Troubleshooting Common System Administration Issues in FreeBSD
- Tips for Hardening FreeBSD to achieve System Protection
- Setting Up DHCP Server in FreeBSD
- Secure User and Group Management in FreeBSD Systems
- Secure Remote Access with SSH in FreeBSD
- Optimizing System Performance in FreeBSD
- Network Packet Capture with tcpdump in FreeBSD
- All posts ...
Do you have GDPR compliance issues ?
Check out Legiscope a GDPR compliance software, that will save you weeks of work, automating your documentation, the training of your teams and all processes you need to keep your organisation compliant with privacy regulations
Modernish
Jul 20, 2023
POSIX shell feature detection and language extension library
The programming/scripting language that incorporates the most frustrating combination of deficiencies and awesome power is probably the POSIX shell with accompanying utilities, which all exist in several variant implementations. Due to said power, the shell refuses to die as a scripting language. But when scripters are bitten by arcane grammar pitfalls, defective tutorials on the web, or shell functionality deficits, then ‘use a real programming language instead’ is generally the mantra.
Enter modernish, a new vision on shell scripting. Modernish aims to provide a standard library that allows for writing robust, portable, readable, and powerful programs for POSIX-based shells and utilities. It can solve the shell language problems mentioned above, and many more. With modernish, you’d almost think the shell has become a modern programming language!
The library builds on the POSIX 2018 Edition standard, so it should run on any sufficiently POSIX-compliant shell and operating system. But it also takes advantage of certain shell-specific enhancements if it detects them.
- Older
- Newer
Checkout these related ports:
- Zsh - The Z shell
- Zsh-syntax-highlighting - Fish shell syntax highlighting for Zsh
- Zsh-navigation-tools -
- Zsh-completions - Additional completion definitions for Zsh
- Zsh-autosuggestions - Fish-like autosuggestions for Zsh
- Zsh-antigen - Tool for managing Zshell plugins inspired by Vundle
- Yash - POSIX-compliant command line shell
- Xonsh - Python-ish BASH-wards shell
- Wcd - Command-line program to change directory fast
- Vshnu - New Visual Shell
- Viewglob - GTK+ add-on to bash and zsh
- V7sh - Implementation of the UNIX 7th Edition shell
- Tcshrc - Set of configuration scripts for the TCSH shell
- Switchbashzsh - Portable shell setup for Bash/Zsh across FreeBSD/Linux/Cygwin
- Starship - Cross-shell prompt for astronauts