DOCUMENTATION

The integer switches: prtlin records that a non-blank occurred; and error records that whitespace was truncated.  The array s collects whitespace characters until a non-blank occurs.  When a newline occurs, the switches determine whether to print a newline and an error message.