PROPHET/OS

NAME

writefile: writes text into a file, replacing what was there

SYNOPSIS

writefile <file> <text>

DESCRIPTION

Writes text into a file, replacing what was there.

It is the smallest writer there is, for a configuration line or a test file. For anything longer there is vim, and for a stream there is a redirection in the shell.

EXAMPLE

$ writefile --help
writefile <file> <text>
  writes text into a file

SEE ALSO

cat, vim, echo