bug-sed
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#20138: Fwd: sed bug


From: Jim Meyering
Subject: bug#20138: Fwd: sed bug
Date: Wed, 18 Mar 2015 12:39:57 -0700

Scott,

I'm forwarding your report and my reply to Sed's bug-reporting list,
so that we get an automatically-assigned issue number.

---------- Forwarded message ----------
From: Jim Meyering <address@hidden>
Date: Wed, Mar 18, 2015 at 12:37 PM
Subject: Re: sed bug
To: Peter Scott <address@hidden>
Cc: address@hidden


On Wed, Mar 18, 2015 at 7:42 AM, Peter Scott <address@hidden> wrote:
> Hi,
>
> $ sed --version
> sed (GNU sed) 4.2.2
> Copyright (C) 2012 Free ...
>
> # This works
> #
> $ sed 's/foo/bar/i'
> FOO
> bar
> $
>
> # I think this should work too.
> #
> $ sed '/foo/s//bar/i'
> sed: -e expression #1, char 13: cannot specify modifiers on empty regexp

Thanks for spotting and reporting that. I certainly think it should work.
I suspect it is simply an oversight, and we will fix it for the
upcoming release.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]