X-Original-To: alpine-devel@mail.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id E445BDC0D4D; Tue, 30 Jun 2015 14:22:45 +0000 (UTC) Received: from ncopa-desktop.alpinelinux.org (unknown [79.160.13.133]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: n@tanael.org) by mail.alpinelinux.org (Postfix) with ESMTPSA id AA687DC0098; Tue, 30 Jun 2015 14:22:44 +0000 (UTC) Date: Tue, 30 Jun 2015 16:22:41 +0200 From: Natanael Copa To: Michael Fox <415fox@gmail.com> Cc: alpine-devel , Lasse Collin Subject: Re: [alpine-devel] Re: xzdiff in xz package is broken on alpine linux Message-ID: <20150630162241.549c514a@ncopa-desktop.alpinelinux.org> In-Reply-To: References: X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-alpine-linux-musl) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP On Mon, 29 Jun 2015 10:07:59 -0700 Michael Fox <415fox@gmail.com> wrote: > CC xz maintainer whose email I got wrong the first time > > On Mon, Jun 29, 2015 at 8:27 AM, Michael Fox <415fox@gmail.com> wrote: > > > I found this by running make check. It's probably due to xzdiff being a > > shell script with some hair regexs and musl having some regex > > incompatibilities in the name of standards compliance. > > > > Another one that bit me today was in a script with > > > > grep '^[a-z]\+' \+ is a gnu extension and not a posix Basic Regular Expression (BRE). You cannot expect those work anywhere except with GNU. > > On alpine you need to say > > > > grep '^[a-z]+' You need -E for extended regepx (ERE): grep -E '^[a-z]+' That should be portable. -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---