<> <> <> <> <> <<>> DIRECTORY IO: TYPE USING [STREAM], Rope: TYPE USING [ROPE]; CommandUtil: DEFINITIONS = {OPEN Rope; PairList: TYPE = LIST OF RECORD[key, val: ROPE]; Switches: TYPE = PACKED ARRAY CHAR ['a..'z] OF BOOL; Echo: PROC [ d: IO.STREAM, operator: ROPE, argList, resultList: PairList, switches: ROPE]; GetSwitches: PROC [switches: ROPE, default: Switches] RETURNS[Switches]; GetNthPair: PROC [list: PairList, n: CARDINAL, delete: BOOL_FALSE] RETURNS [key,value: ROPE]; GetNth: PROC [list: PairList, n: CARDINAL, delete: BOOL_FALSE] RETURNS [ROPE] = INLINE { RETURN [GetNthPair[list, n, delete].value]}; KeyValue: PROC [key: ROPE, list: PairList, delete: BOOL_FALSE] RETURNS [ROPE]; ListLength: PROC [list: PairList] RETURNS [CARDINAL]; Parse: PROC [s: IO.STREAM] RETURNS [operator: ROPE, argList, resultList: PairList, switches: ROPE]; SetExtension: PROC [root, defaultExt: ROPE] RETURNS [name: ROPE]; GetRootName: PROC[name: ROPE] RETURNS [root: ROPE]; SkipNonBlank: PROC [s: IO.STREAM, n: CARDINAL_1]; Failed: ERROR; }.