-- UECP.mesa -- Gifford on 23-Mar-82 14:46:08 -- Schroeder, September 17, 1982 3:07 pm DIRECTORY Rope USING [ROPE]; UECP: CEDAR DEFINITIONS = { ArgHandleObject: TYPE = RECORD [s: SEQUENCE argc: NAT OF Rope.ROPE]; Argv: TYPE = REF ArgHandleObject; Parse: PROC[commands: Rope.ROPE, switchchar: CHAR ← '-] RETURNS [Argv]; -- switchchar is a character marking the beginning of a switch, --switchchar=(space`) disables -- If the switchchar is '-, a space must appear before the '- -- Returns NIL if there are unmatched quotes -- Parse the given command line into tokens using the Unix (TM) Argc and Argv --style and the given switch character. }. CHANGE LOG Created by Stewart on March 19, 1982 4:40 pm Rename Open to Parse by Gifford 23-Mar-82 14:46:08