Skip to content

domo141/shbb

Repository files navigation

Shell Script Building Blocks

This is ever-evolving repository to contains tips, tricks, code snippets and other building blocks for shell scripts...

shbb.org

shbb.org contains many useful code blocks to be used as building parts of shell scripts.

snippets.md is somewhat like shbb.org, but without explanations.

larger.md is a place for shell code that can get some things done in neat ways usually containing just a bit more lines than a few...

specifics.md contain constructs that don't work on all modern shells (at least not on dash(1) -- and something specicifs to one particular shell).

misc.md contains stuff that did not seem to fit elsewhere (so far...).

interactive shell blocks

Code that can be used in configuration files of interactive shells

(e.g. bash & zsh eternal histories)

templates

templates directory contains various shell constructs to be used around and inside code files of many languages.

sh-portabilitytest.sh

This script is valuable hac^H^H^H^H tool to determine which (builtin!) shell constructs work with which shell.

now some results available in portabilitytest-*.org (linux, freebsd7.1, solaris10).


See also related (0ld, now deprecated, may be dropped in the future) pictures in "pix or it didn’t happen" (hyperlink generation failed).

About

shell script building blocks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published