summaryrefslogtreecommitdiff
path: root/examples/scripts.noah/README
blob: a33860baa7658f7b8486346c155a4ca7041aa442 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
This collection of scripts was originally written for older versions
of bash by Noah Friedman (friedman@gnu.ai.mit.edu).  The conversion
to bash v2 syntax was done by Chet Ramey.

These scripts are as-is; there is no copyright associated with
any of them.  They exist simply as examples of bash scripting.

Here's a description of what's in this directory:

aref.bash		pseudo-arrays and substring indexing examples
bash.sub.bash		library functions used by require.bash
bash_version.bash	a function to slice up $BASH_VERSION
meta.bash		enable and disable eight-bit readline input
mktmp.bash		make a temporary file with a unique name
number.bash		a fun hack to translate numerals into english
prompt.bash		a way to set PS1 to some predefined strings
remap_keys.bash		a front end to `bind' to redo readline bindings
require.bash		lisp-like require/provide library functions for bash
send_mail.bash		replacement smtp client written in bash
shcat.bash		bash replacement for `cat'
source.bash		replacement for source that uses current directory
string.bash		the string(3) functions at the shell level
stty.bash		front-end to stty that changes readline bindings too
y_or_n_p.bash		prompt for a yes/no/quit answer