<div dir="ltr">Amos, we have a winner!!! Exactly what I looked for!<div>Thanks</div><div>Orna</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 21, 2015 at 7:53 AM, Amos Shapira <span dir="ltr"><<a href="mailto:amos.shapira@gmail.com" target="_blank">amos.shapira@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Then how about:<div><br></div><div>"grep -v -P -a '\x00' file"?</div><div><br></div><div>Based onĀ <a href="http://superuser.com/a/612336/27453" target="_blank">http://superuser.com/a/612336/27453</a>. Explantion of the flags:</div><div><br></div><div>-v - inverse - print NON-matching lines</div><div>-P - use Perl regexp</div><div>-a - force treating the file as a text file</div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On 21 July 2015 at 13:39, Shachar Shemesh <span dir="ltr"><<a href="mailto:shachar@shemesh.biz" target="_blank">shachar@shemesh.biz</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
  
    
    
  
  <div style="direction:ltr" bgcolor="#FFFFFF" text="#000000">
    <div>On 21/07/15 00:22, Boruch Baum wrote:<br>
    </div>
    <blockquote type="cite">
      <pre>I see that I'm late to the discussion and that your original problem has
morphed a bit. Maybe the simplest and oldest solution is the `tr -d'
command. See `man tr'.

</pre>
    </blockquote>
    Read the original question again. She needs to eliminate the entire
    line where a corruption happened, not just the corrupt bytes
    themselves.<span><font color="#888888"><br>
    <br>
    Shachar<br>
  </font></span></div>

<br></div></div><span class="">_______________________________________________<br>
Linux-il mailing list<br>
<a href="mailto:Linux-il@cs.huji.ac.il" target="_blank">Linux-il@cs.huji.ac.il</a><br>
<a href="http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il" rel="noreferrer" target="_blank">http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il</a><br>
<br></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><a href="http://au.linkedin.com/in/gliderflyer" target="_blank"><img src="https://static.licdn.com/scds/common/u/img/webpromo/btn_viewmy_160x25.png"></a><br></div></div>
</font></span></div></div>
<br>_______________________________________________<br>
Linux-il mailing list<br>
<a href="mailto:Linux-il@cs.huji.ac.il">Linux-il@cs.huji.ac.il</a><br>
<a href="http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il" rel="noreferrer" target="_blank">http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Orna Agmon Ben-Yehuda.<br><a href="http://ladypine.org" target="_blank">http://ladypine.org</a></div>
</div>