From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22794 invoked by alias); 17 Jun 2016 19:30:23 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 38706 Received: (qmail 23515 invoked from network); 17 Jun 2016 19:30:23 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1466191140; bh=bzOd35zwcNrd9A/0SMZWGM9f3sf66JctFuIJu2pO9dg=; h=X-Yandex-Sender-Uid:From:To:Subject:MIME-Version:Message-Id: X-Mailer:Date:Content-Transfer-Encoding:Content-Type; b=txAOPSQDbpu/RCw4IYyVTtPTqtRckSAtx3O20FyV85bE3u40zZP3KPgOP1n/yMu+s aUMzzVYIr0L7QrgUM5RFP9Zouvvepo4vXOg8nmNM4ngHAbmdyGZdSFSYv4Cxv40Xec CfPjJO9ckwpc41v9vXXB5Do+cLyXGm+Y59x+JpGc= Authentication-Results: mxback8j.mail.yandex.net; dkim=pass header.i=@yandex.ru X-Yandex-Suid-Status: 1 0,1 20735984 X-Yandex-Sender-Uid: 9151298 From: "Nikolay Aleksandrovich Pavlov (ZyX)" To: Zsh hackers list Subject: Brace list completion errors when pre-brace word contains escaped characters MIME-Version: 1.0 Message-Id: <770131466191140@web6j.yandex.ru> X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Fri, 17 Jun 2016 22:19:00 +0300 Content-Transfer-Encoding: 7bit Content-Type: text/plain Consider the following code: cd /tmp touch foo\ bar\'baz\ test mkdir foo\ bar\'baz\ tset zsh -f % autoload compinit % compinit % echo foo\ bar\'baz\ t{ This will turn last line into % echo foo\ bar\'baz{\ t which is obviously not what user expects. Second `` produces % echo foo\ bar\'b{az\ t . Third % echo foo\ bar\{'baz\ t . Since brace now appeared to be escaped fourth `` does nothing. zsh version is 5.2.