PREV INDEX NEXT

Author: Stan Eisenstat
Subject: Re: [Cs323] \ escape char
Date: Friday, 02 Oct 2020, 07:33:58


    > Message Posted By: Unknown
    >
    > $ /c/cs323/Hwk2/parsley
    > (1)$ (a \)) c
    > parsley: unbalanced parentheses

That is not the error message that I get:

  % /c/cs323/Hwk2/parsley
  (1)$ (a \)) c
  parsley: command and subcommand
   
but since the content of error messages is unspecified,
the result is correct.
=====

    > (1)$ (a \) c
    > parsley: unbalanced parentheses'

The ) is escaped and thus is a TEXT token, not a
PAR_RIGHT.
=====

    > Hi could you explain these two outputs?
    > Does escape char turns ) into a text?

Yes.

--Stan-
PREV INDEX NEXT