From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,NICE_REPLY_A,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 4501 invoked from network); 10 Jan 2021 15:56:22 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 10 Jan 2021 15:56:22 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1610294182; b=xzzQQtoFid3M29crx1Q2A9/naZsEPYfOYWSrevdav1kkgVZg15LpuMznnpEyneJzlPIIfIUa5h WLxoCWdDNaXTkjAXWtsVZdn0YItFuA2XHbzWt6TClbHX1w+t+kb9g6Qwvg5tk6wK4q8cFiMT71 ENfNPf91NR7GaRRAKlcoEGsYu6RvfMPEWB9oen7+k23l591KbVyMU3ZLniBILta9nUWXlBpPFs KcGB8ivAKewsguSx0BCDa5+tX2s9njw90iMhkD/LPURCSTxtImp5GH7uDPrbcQLhO0mBPwI9cz m19k/6XMdzDO4LMfSpR6x4YfUMR7AgLtoU/RRbPF8zbxgw==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mta02.eastlink.ca) smtp.remote-ip=24.224.136.13; dmarc=none header.from=eastlink.ca; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1610294182; bh=Yh+CsUJGBOAEO/kFM0KmYRpDT0vwAdmxRdhWPcwT9r8=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:From:References:To:Subject:DKIM-Signature; b=WACOI6HB8XnEtmczC7cWNwuLybeESOtYanwGyJ5hpAFvTsZmFR24Aacn3oAi4cAirVo6vR/dH6 F5Oj9t7Y73rLS6ZMY7CfJD98TCQj9vA1xZYRatz9AcQk3gnj2rnxfSqyzMokI45H5ubJstUkvr n4jIgumlB9JPIj06cvgQfbC94k20rH7OrFvYE94FDSnZQbisKKMP6JkmTEFUKGBWMN59LhaPdU uXAjc3gZp7R6xJmnn+zE1c9OZaS0V4C3wMxgvf/OjTKPJ30YoYG41st0Z50nTpAO2MsqCardJW GlIhsLPVALqrUkuzNRF/mt0SPnrHHYJ5f7SNwuMsYc8KlQ==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20200801; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-transfer-encoding: Content-type:In-reply-to:MIME-version:Date:Message-id:From:References:To: Subject:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=p40YRvqKFCe4lQUiUvrfcOCrVXd1JSXbYuTFRHLqhsM=; b=eBlfh10UhRCJlr5I10ZqmQSc7a nHU81Sda99Z7GxS9pCQyCzjPPpuzSY2xv+NG5TMWPC+wSA5KGKQWcAn5cGEkLofzvZ8zs6nTkxG0Q Nzq/VRMC20gHFk9MEJIJFQoTJjq0XC0RPxQPxTvcQwOpW5xe+O0gWnUG/JMaW0yqKj1ZMSWubJ/d+ GWmQmXCsN5ovVLCIHC/jYTwzGiVTSOloQmGuLKN38C9KGjGzStT39upvPmC9F/J8x/HAK8GcwN+uO OHKJ42T+C76M/TnZflcKp7VDih3TeyBlMiIisQXq7OGY3XtMu6kzdkfUTq8vYIUCY6vO78SNcYHgI DUhYSB0Q==; Received: from authenticated user by zero.zsh.org with local id 1kyd4o-0000Gp-75; Sun, 10 Jan 2021 15:56:22 +0000 Authentication-Results: zsh.org; iprev=pass (mta02.eastlink.ca) smtp.remote-ip=24.224.136.13; dmarc=none header.from=eastlink.ca; arc=none Received: from mta02.eastlink.ca ([24.224.136.13]:51946) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) id 1kyd4I-000PtX-6w; Sun, 10 Jan 2021 15:55:50 +0000 Received: from csp02.eastlink.ca ([71.7.199.167]) by mta02.eastlink.ca (Oracle Communications Messaging Server 8.0.2.2.20180531 64bit (built May 31 2018)) with ESMTPS id <0QMQ00MRP67EBJ71@mta02.eastlink.ca> for zsh-users@zsh.org; Sun, 10 Jan 2021 11:55:48 -0400 (AST) Received: from [192.168.0.3] ([24.207.90.194]) by Eastlink with ESMTP id yd4Gkk17jDl3lyd4GkoHI2; Sun, 10 Jan 2021 11:55:48 -0400 X-Authority-Analysis: v=2.4 cv=HJEGqqhv c=1 sm=1 tr=0 ts=5ffb2384 a=zv49KfEsxEDzuN5AGO7r0Q==:117 a=zv49KfEsxEDzuN5AGO7r0Q==:17 a=IkcTkHD0fZMA:10 a=6nHR80zugq-pzpR5heIA:9 a=QEXdDO2ut3YA:10 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrvdegledgkeefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecugfetuffvnffkpffmpdfqfgfvnecuuegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhkffffgggjggtgfesthekredttdefjeenucfhrhhomheptfgrhicutehnughrvgifshcuoehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgeqnecuggftrfgrthhtvghrnhepkedvueeuffefhfdvueeiteffvddtvdejgeeujeekieduheeiteeiheegtedvhfefnecukfhppedvgedrvddtjedrledtrdduleegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepvdegrddvtdejrdeltddrudelgedphhgvlhhopegludelvddrudeikedrtddrfegnpdhmrghilhhfrhhomheprhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrpdhrtghpthhtohepiihshhdquhhsvghrshesiihshhdrohhrghdpghgvthdqkghiphfrrghsshifugepthhruhgv X-Vade-Score: 0 X-Vade-State: 0 X-EL-IP-NOAUTH: 24.207.90.194 Subject: Re: question mark in filename. To: zsh-users@zsh.org References: From: Ray Andrews Message-id: Date: Sun, 10 Jan 2021 07:55:47 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-version: 1.0 In-reply-to: Content-type: text/plain; charset=utf-8; format=flowed Content-transfer-encoding: 8bit Content-language: en-US X-Seq: 26370 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: Archived-At: On 2021-01-10 7:28 a.m., Roman Perepelitsa wrote: > It does that only when stdout is a tty. The output in this mode has > been improved recently. Here's what I get: > > % ls > 's,7,big'$'\n''improvements'$'\n''in'$'\n''code'$'\n' That's a whole lot more honest.  A linefeed is not a question mark. This can be put to bed now, but if I had one remaining question it is why (or how) I might have protected the rogue characters.  As I mentioned I tried ' ${(q)input} ' and variations because  that seems to swallow most things and I was suspicious.  Nevermind. > % ls | cat > s,7,big > improvements > in > code Yeah, after I captured the output to a variable, that's exactly what it wanted to show and of course now I know that's exactly what it should show.  Linefeeds are linefeeds. > That's just the output of `ls` when stdout is a tty. Ok, so 'eval' is innocent of all this.  As usual the man page is less than helpful, they could mention all this and save us all the trouble.