This is ever-evolving repository to contains tips, tricks, code snippets and other building blocks for shell scripts...
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...).
Code that can be used in configuration files of interactive shells
(e.g. bash & zsh eternal histories)
templates directory contains various shell constructs to be used around and inside code files of many languages.
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).