Charles Dye
Super Moderator
- May
- 5,331
- 161
Staff member
Yeah, I know. But these should reduce support requests:
1. Doc change: Document that SETDOS /C /E and /P accept numeric character values, as well as literal characters. This syntax is less confusing because (a) it eliminates the need to escape characters with
2. Code tweak: SETDOS /C /E /P should not permit the command separator/escape char/parameter char to be set to the percent sign, double quotes, or backquote — just as redirection characters, whitespace, comma, etc. are already forbidden.
1. Doc change: Document that SETDOS /C /E and /P accept numeric character values, as well as literal characters. This syntax is less confusing because (a) it eliminates the need to escape characters with
%=
— I know how you love %=
— and (b) avoids confusion with batch file encodings and code pages. Hex digits are the same in all encodings, at least until TCC supports EBCDIC batch files.2. Code tweak: SETDOS /C /E /P should not permit the command separator/escape char/parameter char to be set to the percent sign, double quotes, or backquote — just as redirection characters, whitespace, comma, etc. are already forbidden.