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.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 28968 invoked from network); 24 Apr 2021 23:18:46 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 24 Apr 2021 23:18:46 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1619306326; b=FlLUvq7dX0s+abODoIvg0gyUPkRJDroCfBDjZtGV39++mopQQO0epHxYGeWQyNvnyFVydRNXjB e5JVZSdGlLAZ8kaWDOgdqMdAGV5DsQ5RedHrjQQbYbZbc3dhLIRLPwY0WhrN5vkWPZW76mrfJY eSoiK2XG9Yi1jRCf9NSc6UbdbJtsATnH9RCgX5BPTuC4KaM3YtvKk/8V1583JzbZjsO4G+cRoF wryVP/jHSDplkF1XZZUzr7a+xyj6eEE2aRFIRMKjQJTH+eDR2JLgulxo9toNUUuRDVtHRlg+V+ GzKq6S5+O+mUm1fBWKPQf7lJPOgIIEQwgaAq1qjsnBStaQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (joooj.vinc17.net) smtp.remote-ip=155.133.131.76; dmarc=none header.from=vinc17.net; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1619306326; bh=9WGKIqFNRZWqq6g6LmW7nwLhFaQt495o2oWoFsC5tZk=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:In-Reply-To:Content-Transfer-Encoding:Content-Type: MIME-Version:References:Message-ID:Subject:To:From:Date:DKIM-Signature; b=JKcy2ig4EzjopynH0Eaz4zfo72vap5nOpvHdaj3IVASiytOFRqDXcw6jYZhyhQWLz5QjW7d8/k Gtvuw90Io+96zzwKL4Qong0052c2gBZ1rcukGOeC/RDEGHLYiHGN3NnTu6NYCp9CxKi3+fPOyy DlWodc0AE2fCavJo00TGkYgTVsLtIK52Dky++wGQ4tYhQtNcr79xp2MMUsJDVOv6K4P37PFoB6 8bjHScP0Y+NgsZdoW+gDdFaKWmRJAONXMh+u4t75VOE5iUYK4mwls1UBUVzbfzGaPZNJ+kdmgC LrPdv9xTsrs5gbsPmCQkmTbmOxiip2mWgj7wtZj7A0is7g==; 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:In-Reply-To:Content-Transfer-Encoding :Content-Type:MIME-Version:References:Message-ID:Subject:To:From:Date: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=IlulsxGxoah4yuPa7RlUZaXuprXkjXMUrimzh2sBP5k=; b=KK++CK1ojuGT+gO8vr1UTF4jV1 A4g+AjolvnLGTkl9dTcNji3jrSayuh25u5+zurM5CDwyK3tbs1RBNFTM7tEYa3zzPq4otWPEwdsjc PKXu16wE0bayr6M13kjrAvJfjwhjNST8N++kSE1XWYR4VYkdfETfB+qb3/fgKjgNTg8yvaRB69Y+d Wpw4W4JQEkFR/5bEc0xNZtAaVRP5cyUxlY7QYoaMafuGWBcXxwCG+qIN4/1eSdapst2Si8vp2RWqf WVsS//rb9w0LmuP2OL2WH9h/RUpnCxjPKFDDPKBs37ANzfDPLgmek1vIIyD9qDVXhatZzHat/z7Wg JYBdj16A==; Received: from authenticated user by zero.zsh.org with local id 1laRXs-000Bqt-EF; Sat, 24 Apr 2021 23:18:40 +0000 Authentication-Results: zsh.org; iprev=pass (joooj.vinc17.net) smtp.remote-ip=155.133.131.76; dmarc=none header.from=vinc17.net; arc=none Received: from joooj.vinc17.net ([155.133.131.76]:53740) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1laRXf-000BcE-Uy; Sat, 24 Apr 2021 23:18:28 +0000 Received: from smtp-zira.vinc17.net (lfbn-tou-1-1431-42.w90-89.abo.wanadoo.fr [90.89.233.42]) by joooj.vinc17.net (Postfix) with ESMTPSA id AB6CF10B; Sun, 25 Apr 2021 01:18:27 +0200 (CEST) Received: by zira.vinc17.org (Postfix, from userid 1000) id 3080CC23DB0; Sun, 25 Apr 2021 01:18:26 +0200 (CEST) Date: Sun, 25 Apr 2021 01:18:26 +0200 From: Vincent Lefevre To: zsh-workers@zsh.org Subject: Re: sh emulation POSIX non-conformances (printf %10s and bytes vs character) Message-ID: <20210424231826.GE2587578@zira.vinc17.org> Mail-Followup-To: zsh-workers@zsh.org References: <20210411175726.hxnm33mxoska2tsm@chazelas.org> <20210411194205.e7mr2wx33wlkq3rs@chazelas.org> <20210422135934.GA154089@zira.vinc17.org> <20210423165326.GB2033191@zira.vinc17.org> <20210424070940.afk5alasj65hyvsq@chazelas.org> <20210424215250.GC2587578@zira.vinc17.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Mailer-Info: https://www.vinc17.net/mutt/ User-Agent: Mutt/2.0.6+160 (30e657d3) vl-137001 (2021-04-24) X-Seq: 48698 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: On 2021-04-24 15:28:21 -0700, Bart Schaefer wrote: > On Sat, Apr 24, 2021 at 2:53 PM Vincent Lefevre wrote: > > > > And perl has the same issue as zsh with double-width characters. > > This implies to me that it's not actually a zsh problem. Why not? -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)