1# Check that unknown commands output a useful error message 2 3! testscript notfound 4stdout 'unknown command "notexist"' 5 6! testscript negation 7stdout 'unknown command "!exists" \(did you mean "! exists"\?\)' 8 9! testscript misspelled 10stdout 'unknown command "exits" \(did you mean "exists"\?\)' 11 12-- notfound/script.txt -- 13notexist 14-- negation/script.txt -- 15!exists file 16-- misspelled/script.txt -- 17exits file