Reference notes for Inferno's sh(1)

General

See: http://man.postnix.pw/purgatorio/1/sh

Various files in /lib/sh

Source in: /appl/cmd/sh/

Loadable modules at time of writing:

std

or lets you try several commands in order, stopping when one succeeds:

or {first} {second} ...

You can do a compound if without else:

if{~ some $thing}{
	do something
}{~ another $thing}{
	do anotherthing
}{
	other wise
}