Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 May 2016 08:17:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 209449] Buildworld fails because of malformed sed
Message-ID:  <bug-209449-8-c9WumfFbeU@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-209449-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-209449-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209449

--- Comment #1 from tschweikle@gmail.com ---
sed: 1: "s/^[1-9].*$/.&/": bad flag in substitute command: 's'
sed: 1: "s|@g@||g": bad flag in substitute command: 's'

in both cases the command expands:

sed -e 's/@g@/$(g)/g' \
    -f $(SH_DEPS_SED_SCRIPT) \
    -e $(SH_SCRIPT_SED_CMD)

$(g) expands to something like "/s", sed then reads: 's/@g@//s/g' reporting
only the first wrong flag after the third '/'.

same for "$(SH_SCRIPT_SED_CMD)": as far as i dug in this expands to
's/<someting>/<something>/s|@g@||g'

for whatever reason the reported "s/^[1-9].*$/.&/" and "s|@g@||g" are not t=
he
subtitute commands the error is in!

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-209449-8-c9WumfFbeU>