es(1)
NAME
es - extensible shell
SYNOPSIS
es [-silevxnpo] [-c command | file] [arguments]
DESCRIPTION
Arrayto implement internal operations. This manual page describes the
default, initial configuration. See the section entitled Hook
Functions
give the shell extended semantics.
LANGUAGE
Arrayvariable is substituted by its space-separated-list value (see
Flat Lists
Arrayeof Raised by %parse when the end of input is reached.
- Arrayname of the signal that was raised.
See the builtin commands catch and throw for details on - how to manipulate exceptions.
SPECIAL VARIABLES
Arrayalso that an assignment to path causes an automatic assignment to
PATH, and vice-versa. If neither path nor PATH are set at startup time, path assumes a default value suitable for your system.
This is typically /usr/ucb /usr/bin /bin ''.
pid The process ID of the currently running es.
Arrayis for compatibility with other Unix programs, such as sh(1).
$PATH is assumed to be a colon-separated list.
SYNTACTIC SUGAR
- Array``ifs {cmd args} <={%backquote <={%flatten ''
- ifs} {cmd args}}
BUILTINS
Array-r Is the file readable (by the current user)?
-w Is the file writable?
-x Is the file executable?
-f Is the file a plain file?
-d Is the file a directory?
-c Is the file a character device?
-b Is the file a block device?
-l Is the file a symbolic link?
-s Is the file a socket?
Arrayis different from other shells, that often use the status of the
last command executed.)
false Always returns a false (non-zero) return value.
Arraytrue Always returns a true (zero) return value.
Array-f functions
-s settor functions
-e exported values
-p private (not exported) values
-i internal (predefined and builtin) values
-a all of the above
- Arraypeated instances of separator characters are coalesced. Backquote substitution splits with the same rules.
%var var ... - For each named variable, returns a string which, if
- interpreted by es would assign to the variable its current value.
PRIMITIVES
- Arraysome control-flow operations in es (e.g., while and &&) can be
implemented as lambdas rather than primitives.
$&primitives - Returns a list of the names of es primitives.
- $&version
- Returns the current version number and release date
- for es.
OPTIONS
Array-v Echo all input to standard error.
- Array-d Don't trap SIGQUIT or SIGTERM. This is used for
- debugging.
FILES
$home/.esrc, /dev/null
BUGS
Arraybreak and return should have lexical scope.
Arraycontrol-b followed by control-a or control-b.
-x is not nearly as useful as it should be.
ArrayToo many creatures have fept in.
- Please send bug reports to haahr@adobe.com and byron@ne
- tapp.com.
SEE ALSO
- Arraylishing)
5 March 1992