Hi,

On Sun, Jan 9, 2022 at 1:39 AM Jerome Shidel <[email protected]> wrote:
>
>
> Since the docs say everything after the REM is ignored,
> I feel that the behavior is not consistent with the stated
> behavior. So, it is a bug in either the handling of the pipe
> in a REM statement. Or, it is a bug in the documentation.
>
> Either way, It is more of a philosophical question.MS-DOS
> is NOT bug free and just because happens in MS-DOS,
> does that mean it needs to do the same thing in FreeDOS.
> Even if it is a bug in MS-DOS?

This is well-known .BAT behavior in MS-DOS (but could still "maybe" be
considered a bug).

The classic workaround is to use "::" (two colons) to comment out the
line, then you can use as many pipes and redirection symbols as
desired.


_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to