Hi Benjamin,

On Wed, Sep 04, 2019 at 11:07:46PM -0700, Benjamin Kaduk via Datatracker wrote:
> Benjamin Kaduk has entered the following ballot position for
> draft-ietf-netmod-artwork-folding-09: Discuss
> [...]
> ----------------------------------------------------------------------
> COMMENT:
> ----------------------------------------------------------------------
> [...]
>      "$SED" '{H;$!d};x;s/^\n//;s/\\\n *//g' $temp_dir/wip > $outfile
> 
> [I don't remember why the s/^\n// is needed; similarly for the
> unfold_it_2() case.]

This is an artifact of how sed's H command works: it adds a newline to
the hold space, then appends the pattern space (which does not contain
a newline) to the hold space. Thus an extra newline is added before the
first line of the input data. This extra newline needs to be removed.

> [...]

Thanks,
Erik

_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod

Reply via email to