<?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>topic sed command in tsystem in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/sed-command-in-tsystem/m-p/2363348#M127241</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My job has only one component 'tsystem' in the  use single command, I'm passing the command as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Command: "sed 's/\r$//' file.sh &amp;gt; file_new.sh"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While running the job, getting the error "sed: -e expression # 1, char 1: unknown command: `''". Where as the same command running successfully in Unix.&lt;/P&gt;&lt;P&gt;Can anyone help to solve the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 21:17:24 GMT</pubDate>
    <dc:creator>shalinim1</dc:creator>
    <dc:date>2024-11-15T21:17:24Z</dc:date>
    <item>
      <title>sed command in tsystem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/sed-command-in-tsystem/m-p/2363348#M127241</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My job has only one component 'tsystem' in the  use single command, I'm passing the command as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Command: "sed 's/\r$//' file.sh &amp;gt; file_new.sh"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While running the job, getting the error "sed: -e expression # 1, char 1: unknown command: `''". Where as the same command running successfully in Unix.&lt;/P&gt;&lt;P&gt;Can anyone help to solve the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:17:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/sed-command-in-tsystem/m-p/2363348#M127241</guid>
      <dc:creator>shalinim1</dc:creator>
      <dc:date>2024-11-15T21:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: sed command in tsystem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/sed-command-in-tsystem/m-p/2363349#M127242</link>
      <description>&lt;P&gt;"sed 's/\\r$//'&amp;nbsp;&lt;A href="https://file.sh/" alt="https://file.sh/" target="_blank"&gt;file.sh&lt;/A&gt;&amp;nbsp;&amp;gt; file_new.sh"&lt;/P&gt;&lt;P&gt;Pease take care the backslash in Java strings have to be escaped if you want them to survive.&lt;/P&gt;&lt;P&gt;Otherwise you send a \r (means carriage return - this will disrupt the command).&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2023 20:29:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/sed-command-in-tsystem/m-p/2363349#M127242</guid>
      <dc:creator>jlolling</dc:creator>
      <dc:date>2023-10-30T20:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: sed command in tsystem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/sed-command-in-tsystem/m-p/2363350#M127243</link>
      <description>&lt;P&gt;@Jan Lolling​&amp;nbsp;changed the command as you suggested and ran the job, but it got failed with the same error &lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2023 06:06:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/sed-command-in-tsystem/m-p/2363350#M127243</guid>
      <dc:creator>shalinim1</dc:creator>
      <dc:date>2023-10-31T06:06:58Z</dc:date>
    </item>
  </channel>
</rss>

