SYNOPSIS

writelog name text...

DESCRIPTION

The writelog script is used to write a log entry or send it as mail. The name parameter specifies the name of the log file where the entry should be written. If it is the word ``mail'' then the entry is mailed to the news administrator, <USERspecifiedwith--with-news-masteratconfigure>. The data that is written or sent consists of the text given on the command line, followed by standard input indented by four spaces. Shlock(1) is used to avoid simultaneous updates to a single log file.

HISTORY

Written by Landon Curt Noll <[email protected]> and Rich $alz <[email protected]> for InterNetNews. This is revision \$3, dated \$4.

RELATED TO writelog…