9 projects tagged "bash"
printargs does for command line arguments what printenv does for the environment. The output is bash friendly such that you can assemble the arguments to stdout in a way that bash can parse them on shell level without additional help. This works even for meta-characters or line feeds in arguments. The code also is optimized to compile into a small static executable.
Shell Script Loader is a framework (in a helper script) that can be used by shell-script-based applications for easy including or loading of co-shell-scripts or subscripts. With this utility, scripters may now be able to apply multi-file or module-oriented scripting or programming in shells just like the way they are always done in known languages like Perl, PHP, and Ruby. The provided functions are load(), include(), and call() with the extended versions loadx(), includex(), and callx(). The extended versions can accept glob patterns and regular expressions. Shell Script Loader supports many shells including the very old ones like bash, zsh, ksh, pdksh, sh, ash, dsh, and all shells based on the original sh. Scripts made with Shell Script Loader may also be compiled to form a single script. A generic compiler written in awk is already available.
"aura" is a desktop (X root window) background setter. It picks images randomly from specified paths, skipping those that are too small or have inappropriate aspect ratios, and rescales them by cropping solid margins, resizing with cubic interpolation and then the liquid rescale algorithm to fit the desktop with as little quality loss as possible. Images are labelled in the corner using embedded tags. It can changes images on a timed basis or when triggered by SIGHUP or the CLI, and tracks previous and blacklisted images.