title: Change sed line separator to NUL to act as "xargs -0" prefilter?
body: <p>I'm running a command line like this:</p>
  
  <pre><code>filename_listing_command | xargs -0 action_command
  </code></pre>
  
  <p>Where <code>filename_listing_command</code> uses null bytes to separate the files -- this is what <code>xargs -0</code> wants to consume.</p>
  
  <p>Problem is that I want to filter out some of the files. Something like this:</p>
  
  <pre><code>filename_listing_command | sed -e '/\.py/!d' | xargs ac
  </code></pre>
  
  <p>but I need to use <code>xargs -0</code>.</p>
  
  <p>How do I change the line separator that sed wants from newline to NUL?</p>