tree: 2962c977424524c0aed74b956e1b5ea43d63e3cc [path history] [tgz]
  1. README.md
  2. common.sh
  3. common/
  4. example.sh
  5. preserve_argv.sh
jjb/shell/common/README.md

Common shell utilities

This subdirectory contains library shell scripts that support interrupt handling and displaying a stack trace.

Hierarchy may appear strange (common/common) but setup is intentional:

% tree --charset=ascii common

common |-- common | -- sh | |-- stacktrace.sh | |-- tempdir.sh |-- traputils.sh |-- common.sh |-- example.sh |-- preserve_argv.sh `-- README.md

2 directories, 7 files

Usage: Source individual libraries by path

source common/common/sh/stacktrace.sh source common/common/sh/tempdir.sh

Usage: common.sh -- one-liner for sourcing sets of libraries.

source common/common.sh source common/common.sh --tempdir source common/common.sh --traputils --stacktrace