> As everyone knows and the docs clearly state, everything after a REM is > ignored.
> However, I recently noticed an issue with a batch file that had something > like: > REM this thing [[x|4]] or later > in one of its remarks. Every time the batch was executed, it > displayed a “4]]” command not found error. > Out of curiosity, I checked under MS-DOS 6.22. It exhibited the > same behavior. I have a vague recollection of noticing this decades ago as > well. > It is a bug. But, it’s a bug that MS-DOS has as well. > What’s you opinion? Should FreeCOM replicate this “feature” or fix the bug? IMO that's a parsing problem. is it (1) REM WHATEVER or (2) command | command and even if *you* think this is a bug, by definition what MSDOS 6.22 does is the definition of how to implement stuff (unless it's a really obvious bug which I don't see here). so it's more of a feature, then a bug. Tom _______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel