Use Long Options in Scripts(matklad.github.io) Many command line utilities support short form options (-f) and long form options (--force). Short form is for interactive usage. In scripts, use the long form.
Run-All(ycombinator.com) github.com/clovis818/run-all is a command-line tool that allows you to execute commands across multiple directories based on a customizable directory pattern.
Using uv as your shebang line(akrabat.com) I create a fair few scripts in my ~/bin/ directory to automate tasks. Since discovering uv and inline script metadata, I’ve started using Python far more for these.
Bunster: Compile bash scripts to self contained executables(github.com/yassinebenaid) Have you ever wished your shell scripts could be faster, more portable, and secure ? Bunster brings this to life by transforming your shell scripts into efficient, standalone binaries that are easy to distribute and deploy across platforms (only unix is supported at the moment).
207 points by thunderbong 93 days ago | 82 comments
Consider Rexx for Scripting (2022)(opensource.com) How do you design a programming language to be powerful yet still easy to use? Rexx offers one example. This article describes how Rexx reconciles these two seemingly contradictory goals.
Kotlin to lose scripting features(infoworld.com) JetBrains plans to drop some scripting-related technologies from the Kotlin language, including REPL functionality, an obsolete API for Java scripting, the KotlinScriptMojo Maven plugin, and the kotlin-scripting-ide-services library for implementing code completion functionality.
Python Inline Script Metadata(python.org) This specification defines a metadata format that can be embedded in single-file Python scripts to assist launchers, IDEs and other external tools which may need to interact with such scripts.
7 points by BerislavLopac 193 days ago | 2 comments
Cwal: Scripting Engine Without a Language(wanderinghorse.net) cwal (pronounced "sea wall") is a scripting engine/garbage-collection library implemented in C (which is where the "c" comes from - its original name was "sewal"). cwal itself does not provide a scripting language, only the pieces needed for a custom script parser to manage its memory, scoping, variables, a value type system with which to communicate values between script code and native code, etc.