https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209449

--- Comment #1 from [email protected] ---
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 the
subtitute commands the error is in!

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to