<?xml version="1.0" encoding="windows-1252"?>
<node id="371573" title="Re: Want to do One line Perl Command" created="2004-07-03 08:23:00" updated="2005-08-15 16:31:46">
<type id="11">
note</type>
<author id="134983">
delirium</author>
<data>
<field name="doctext">
If we make an assumption that any line that doesn't have a .c file is an error statement...&lt;p&gt;
&lt;code&gt;perl -lne '/\.c$/?$h{$l=$_}++:delete$h{$l}}{unlink keys%h' file.txt&lt;/code&gt;</field>
<field name="root_node">
371501</field>
<field name="parent_node">
371501</field>
</data>
</node>
