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.
===> The following configuration options are available for modernish-0.16.5:
DOCS=on: Build and/or install documentation
EXAMPLES=on: Build and/or install examples
===> Use 'make config' to modify these settings
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
shells/modernish: Fix build
It looks like modernish requires /dev/tty to be available during the
installation as it tries to run its install-time test suite. A solution
to that is wrapping ./install.sh with script(1) to make a TTY available.
Interestingly, if we replace script(1) with daemon(8), we can reproduce
the error present in the pkg fallout logs.
shells/modernish: Make the build more verbose
Our official poudriere instances fail to build this port for unknown
reasons. Let's get some additional logs in order to fix the issue.
Reported by: pkg-fallout
Add shells/modernish
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.
WWW: https://github.com/modernish/modernish
Differential Revision: https://reviews.freebsd.org/D19350