Subject: bin/10596: systat(1) command selection is bunched
To: None <>
From: Andy Doran <>
List: netbsd-bugs
Date: 07/17/2000 18:59:32
>Number:         10596
>Category:       bin
>Synopsis:       systat(1) command selection is bunched
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 15 07:43:00 PDT 2000
>Originator:     Andy Doran
>Release:        NetBSD-1.5
Fruit Loops, Intl.
	Darkened room.
	systat(1)'s command() uses strstr() to match commands. This is wrong.
	Run systat(1). Use partial command names.
	command() should scan strings from the left, and choose
	whichever has the highest # of matching characters. Conflict
	resolution should be obvious.