mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Bastian Bittorf <bittorf@bluebottle.com>
To: musl-mailinglist <musl@lists.openwall.com>,
	mailinglist <openwrt-devel@lists.openwrt.org>
Subject: regex issue / asterisk / musl / sed
Date: Mon, 29 Feb 2016 13:57:36 +0100	[thread overview]
Message-ID: <20160229125736.GW9413@medion.lan> (raw)

dear hackers,

i cannot find any former issue with that,
but want to document this here. I spotted
an issue in one of our scripts and it boils down to:

root@box:~ echo 'o*o' | sed -e 's/*/asterisk/g'
sed: bad regex '*': Invalid regexp
root@box:~ echo 'o*o' | sed -e 's/\*/asterisk/g'
oasterisko

it's musl 1.1.14 on OpenWrt / r48814
both commands are working fine with glibc and uclibc
but the first invokation fails with musl 1.1.14 but
works with musl 1.1.13. unsre if the prob is on my
side, maybe $you have an idea...

bye, bastian


             reply	other threads:[~2016-02-29 12:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-29 12:57 Bastian Bittorf [this message]
2016-02-29 13:53 ` Szabolcs Nagy
2016-02-29 14:05   ` Bastian Bittorf
2016-02-29 19:18   ` Szabolcs Nagy
2016-03-01 13:20     ` Bastian Bittorf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160229125736.GW9413@medion.lan \
    --to=bittorf@bluebottle.com \
    --cc=musl@lists.openwall.com \
    --cc=openwrt-devel@lists.openwrt.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).