From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by melb.werple.net.au (8.7.5/8.7.3) with ESMTP id IAA16139 for ; Sat, 30 Mar 1996 08:42:07 +1100 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id QAA09442; Fri, 29 Mar 1996 16:22:45 -0500 (EST) Resent-Date: Fri, 29 Mar 1996 16:22:45 -0500 (EST) From: Zefram Message-Id: <26990.199603292121@stone.dcs.warwick.ac.uk> Subject: Re: Problems with escaped close parens in ternary expressions in PROMPT To: joseph@d2.com (Joseph Goldstone) Date: Fri, 29 Mar 1996 21:21:43 +0000 (GMT) Cc: zsh-workers@math.gatech.edu In-Reply-To: <199603291836.KAA22874@altair-4.d2.com> from "Joseph Goldstone" at Mar 29, 96 10:36:50 am X-Loop: zefram@dcs.warwick.ac.uk X-Stardate: [-31]7274.45 X-US-Congress: Moronic fuckers MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: <"lZtzJ2.0.SJ2.bI5Nn"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/871 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu In ternary expressions, close parens can no longer be escaped with \. The \ is treated as a normal character, and the close paren ends the ternary expression. You can get a literal ) by using the new %) sequence. (If I were designing this from scratch, ) would be taken literally, and %) would close the ternary. Unfortunately it's too late for that; this solution breaks the least code.) -zefram