Stray spaces in sh/monitor resulted in empty lines in software list

Sloppy spacing in sh/monitor could result in empty lines in the software list. This fixes without affecting backward compatibility.