Bug 5285

Summary: <<;ost>> [sic]
Product: frysk Reporter: Andrew Cagney <cagney>
Component: generalAssignee: Andrew Cagney <cagney>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 2246, 5294    

Description Andrew Cagney 2007-11-07 20:46:01 UTC
It gets really wierd output.  Should have got a simple syntax error:

  Command unknown: ost

(; is command separator)
Comment 1 Andrew Cagney 2007-12-10 19:34:52 UTC
Progress, I guess:

(fhpd) ;ost
Internal Error: java.lang.NullPointerException
   at frysk.hpd.Input.parameter(fhpd)
   at frysk.hpd.MultiLevelCommand.interpret(fhpd)
   at frysk.hpd.CLI.execCommand(fhpd)
   at frysk.bindir.fhpd.main(fhpd)
Comment 2 Andrew Cagney 2007-12-10 20:09:06 UTC
 2007-12-10  Andrew Cagney  <cagney@redhat.com>

+       * TestInput.java (check): Check out-of-range requests.
+       * Input.java (parameter(int)): Fix off-by-one check of
+       upper-bound.
+
Comment 3 Andrew Cagney 2007-12-11 22:54:05 UTC
2007-12-11  Andrew Cagney  <cagney@redhat.com>

	* MultiLevelCommand.java (interpret(CLI,Input)): Add comment on
	why help(CLI,Input) is called.
	* TestPreprocessor.java: New.
	* CLI.java (execCommand(String)): Ignore empty lines.