<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Nifi - How to remove empty lines in a file in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-How-to-remove-empty-lines-in-a-file/m-p/165806#M45353</link>
    <description>&lt;P&gt;I am able to address this using the SplitContent processor. Check the config. below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="9165-screen-shot-2016-11-07-at-103148-am.gif" style="width: 1760px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20365i8070E501A4BDB26F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="9165-screen-shot-2016-11-07-at-103148-am.gif" alt="9165-screen-shot-2016-11-07-at-103148-am.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; It will split out two files one with Actual content you needed and second is the empty one. You can use update attribute processor to rename the files as per your requiremetns. &lt;/P&gt;</description>
    <pubDate>Sun, 18 Aug 2019 11:16:50 GMT</pubDate>
    <dc:creator>mpandit</dc:creator>
    <dc:date>2019-08-18T11:16:50Z</dc:date>
    <item>
      <title>Nifi - How to remove empty lines in a file</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-How-to-remove-empty-lines-in-a-file/m-p/165805#M45352</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have a CSV file which contains 3 empty lines at the end of the file. Is there a way to remove these from the end of file?&lt;/P&gt;&lt;P&gt;I mean, the file has multiple rows, and I dont split the file. Was wondering if I could remove the spaces without splitting.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Obaid&lt;/P&gt;</description>
      <pubDate>Sat, 05 Nov 2016 02:42:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-How-to-remove-empty-lines-in-a-file/m-p/165805#M45352</guid>
      <dc:creator>obaid_salikeen</dc:creator>
      <dc:date>2016-11-05T02:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi - How to remove empty lines in a file</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-How-to-remove-empty-lines-in-a-file/m-p/165806#M45353</link>
      <description>&lt;P&gt;I am able to address this using the SplitContent processor. Check the config. below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="9165-screen-shot-2016-11-07-at-103148-am.gif" style="width: 1760px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20365i8070E501A4BDB26F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="9165-screen-shot-2016-11-07-at-103148-am.gif" alt="9165-screen-shot-2016-11-07-at-103148-am.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; It will split out two files one with Actual content you needed and second is the empty one. You can use update attribute processor to rename the files as per your requiremetns. &lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 11:16:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-How-to-remove-empty-lines-in-a-file/m-p/165806#M45353</guid>
      <dc:creator>mpandit</dc:creator>
      <dc:date>2019-08-18T11:16:50Z</dc:date>
    </item>
  </channel>
</rss>

