Skip to main content

Module accounts

Module accounts 

Source
Expand description

The account a shell gives of itself, built by hand.

One builder, so a test that needs the words and a test that needs the shell read the same one. The numbers are a real 5.3.9’s: what is under test wherever this is used is the arrangement or the walk, never the reading of this payload — that is tested against a live shell.

Functions§

account
The pairs an announcement carries. zero is the shell’s $0 and flags its $-, which between them decide how a walk taken in it reads.
given
A shell bash was given its code directly, where $0 is a word and not a path.
reading
A shell bash was handed a file to read.
shell
A shell, as one would arrive.