mdsh
events
mdsh | events | |
---|---|---|
4 | 5 | |
160 | 76 | |
0.0% | - | |
0.0 | 10.0 | |
almost 2 years ago | about 4 years ago | |
Shell | Shell | |
MIT License | Creative Commons Zero v1.0 Universal |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
mdsh
- Multi-Lingual Literate Programming with Mdsh
-
Donald Knuth Was Framed
Telling computers what to do and how to do it is an art, a craft, a practice, a discipline, a medium, a profession, and a science (and probably a few more categories besides). It is just isn't (usually) all of those things at once. Most of the difficulties we have in discussions about the subject have to do with category errors. Literate Programming has stylistic, technical, toolchain, and disciplinary aspects, and Knuth's exemplar demonstrated these. It was then critiqued on pragmatic grounds. I'm not sure if this counts as a bait and switch, rope a dope, or strawman.
I mean, if I was participating in a computer programming class and given the same problem as an assignment, I would write a program to satisfy the requirements. If then told that I should have written a few lines of shell script instead and given a poor grade, I would be livid at the instructor.
As an aside, I was interested to know if there are LP tools for shell scripting. A cursory search turned this up:
https://github.com/bashup/mdsh
-
Program to execute entire org-mode files
Would there happen to be any utilities to execute entire org-mode files, similar to bashup's mdsh? This allows users to execute markdown files via bash. I'd like to combine it with a nix-shell shebang!
- Multi-Lingual Literate Programming with 'Mdsh'
events
-
bash-annotations: A bash framework for creating custom injection and function hook style annotations
You might find bashup.events interesting. Here's a section in a blog post where I ~explained it using an example similar to your timer. (I simplified it for the example, but I use a more complete version of this approach to calculate command duration in https://github.com/abathur/shellswain)
- Bashkit V1
-
modular bash profile scripting with shellswain
Author here. To give credit where it's due, the event system is from https://github.com/bashup/events, and it's just as useful for writing modular bash in other contexts.
- BashLib a helpful source file for any script
-
Donald Knuth Was Framed
A near non-sequitur per your aside (I agree with the rest...): https://github.com/bashup/events is one of my favorite little things. I even blogged about it in January!
What are some alternatives?
inform - The core software distribution for the Inform 7 programming language.
bashkit - Official bashkit repository
shell-intune-samples - Sample shell scripts for Intune admins.
shellswain - Shellswain enables simpler event-driven bash profile scripts & modules
featureplus - A development system that manages feature management tightly integrated with development process.
bashify - few helper functions in bash ( especially string manipulation functions )
Runbook.md - Write Bash executable runbooks in Markdown.
bash-annotations - Java-style annotations for Bash
ebash - enhanced bash
awesome-bash - A curated list of delightful Bash scripts and resources.
bash3boilerplate - Templates to write better Bash scripts
bash-lib - Library of bash scripts