mirror of
https://github.com/simh/simh.git
synced 2026-01-31 05:43:06 +00:00
SCP: Change command argument processing of %% and \% to be consistent.
%% now inserts a bare % and \\ only means something when parsing a quoted string argument (used by EXPECT and SEND commands). Additionally, EXPECT and BREAK commands have action steps which will now expand arguments as each of the actions are executed rather than when the EXPECT or BREAK command is defined.
This commit is contained in:
@@ -319,8 +319,8 @@ Built In variables %DATE%, %TIME%, %DATETIME%, %LDATE%, %LTIME%, %CTIME%, %DATE_
|
||||
Token %n (n being a single digit) expands to the n'th argument
|
||||
Token %* expands to the whole set of arguments (%1 ... %9)
|
||||
|
||||
The input sequence "\%" represents a literal "%", and "\\" represents a
|
||||
literal "\". All other character combinations are rendered literally.
|
||||
The input sequence "%%" represents a literal "%". All other
|
||||
character combinations are rendered literally.
|
||||
|
||||
Omitted parameters result in null-string substitutions.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user