PROPHET/OS

NAME

say: say is the stream a program uses to talk about itself, and it always goes to the human

SYNOPSIS

say [level|apply] [text]

DESCRIPTION

say                    the level below which nothing is said
say apply              take the level out of say.conf and set it
say <level>            from now on, that is the level
say <level> <text>     say it, if the level lets it

say is the stream a program uses to talk about itself, and it always goes to the human. out is the result and goes wherever the shell sent it. Keeping them apart is what makes a pipeline readable while the program still has a voice.

The level

It stands in a file, not in the kernel, and it is read in three steps:

<home>/.say.conf            the user's own, if it is there
/system/config/say.conf     otherwise the one that shipped
in the program              otherwise info

say without arguments prints the level in force and behind it the step it came from: own, system, default when the file never reached the machine, or runtime when somebody set it with say <level> while the machine ran. The level itself lives in the kernel, so the file has to be carried there: say apply does it, and the once service say runs it at startup. That service does not start today, and neither does theme: every once service fails to start, and the fault sits in init.

EXAMPLE

$ say --help
say [level|apply] [text]
  without anything: the level below which nothing is said, and which of the three steps it came from
  apply: take the level out of say.conf and set it
  with a level: from now on, that is the level
  with a level and text: says it, if the level lets it

SEE ALSO

log, logwrite, echo, status