[PATCH] for review Re: Sed substitution bugs
Tony Finch
dot at dotat.at
Wed Jun 4 08:55:36 PDT 2003
On Wed, Jun 04, 2003 at 10:46:36AM -0500, Juli Mallett wrote:
>
> We seem to bounce back and forth on what exactly counts as passing
> that test.. Tell ya what, run it against SysV or GNU sed, and patch
> using the diffs.
Solaris:
$ echo -n foo | sed y/o/O/
sed: Missing newline at end of file standard input.
fOO
$
GNU:
$ echo -n foo | sed y/o/O/
fOO$
GNU is clearly the right implementation, and it's what the regression
test says sed should do. I think sed should be fixed. (I can't do it
right now because I'm going climbing.)
Tony.
--
f.a.n.finch <dot at dotat.at> http://dotat.at/
CAPE WRATH TO RATTRAY HEAD INCLUDING ORKNEY: SOUTHEAST 3 OR 4 BETWEEN ORKNEY
AND RATTRAY HEAD AT FIRST, OTHERWISE NORTHWEST BACKING SOUTHWEST 3 OR 4, THEN
LATER BACKING SOUTH OR SOUTHEAST. RAIN OR SHOWERS. MODERATE WITH FOG PATCHES,
BECOMING GOOD. SLIGHT OR MODERATE.
More information about the freebsd-standards
mailing list