Bug reduction instructions, draft 3

Zack Weinberg zack@codesourcery.com
Sat Jan 18 22:33:00 GMT 2003


Pop Sébastian <pop@gauvain.u-strasbg.fr> writes:

> On Fri, Jan 17, 2003 at 03:06:45PM -0600, Wolfgang Bangerth wrote:
>> 
>> +<ul>
>> +  <li><code>perl -pi -e 's/^#.*\n//g;' bug.ii</code></li>
>> +  <li><code>sed 's/^#/d' bug.ii > bug2.ii</code></li>
>                    ^^^^^^^
> This seems not working.  I think that we should replace it by:
> sed '/^#/D' bug.ii ...

Lowercase d, but you're right, the leading s shouldn't be there.
(Capital D may appear to work but really does something different.)

zw



More information about the Gcc-patches mailing list