<?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 Re: Problem with simple sh command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-simple-sh-command/m-p/2768591#M74119</link>
    <description>hi,&lt;BR /&gt;&lt;BR /&gt;without \ (back slash) sh treats ( as special character. so to avoid this u should put \ before any special characters, like ( * ? ^ etc.,&lt;BR /&gt;&lt;BR /&gt;here \ is called as escape sequence&lt;BR /&gt;&lt;BR /&gt;regds</description>
    <pubDate>Mon, 22 Jul 2002 05:21:15 GMT</pubDate>
    <dc:creator>V. V. Ravi Kumar_1</dc:creator>
    <dc:date>2002-07-22T05:21:15Z</dc:date>
    <item>
      <title>Problem with simple sh command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-simple-sh-command/m-p/2768587#M74115</link>
      <description>Can someone please post a solution to the following:&lt;BR /&gt;&lt;BR /&gt;remsh serverX /usr/bin/grep "fbackup(" logfile&lt;BR /&gt;ksh: syntax error at line 1 : `(' unexpected&lt;BR /&gt;&lt;BR /&gt;If I remove the (, then it works fine.  If I repeat the command locally (i.e. with remsh) then it also works fine - but for some reason adding remsh causes a problem.&lt;BR /&gt;&lt;BR /&gt;Any suggestions would be appreciated.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Alun</description>
      <pubDate>Sun, 21 Jul 2002 18:12:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-simple-sh-command/m-p/2768587#M74115</guid>
      <dc:creator>Alun Territt_1</dc:creator>
      <dc:date>2002-07-21T18:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with simple sh command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-simple-sh-command/m-p/2768588#M74116</link>
      <description>oops, should be "..withOUT remsh.."</description>
      <pubDate>Sun, 21 Jul 2002 18:13:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-simple-sh-command/m-p/2768588#M74116</guid>
      <dc:creator>Alun Territt_1</dc:creator>
      <dc:date>2002-07-21T18:13:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with simple sh command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-simple-sh-command/m-p/2768589#M74117</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;try&lt;BR /&gt;/usr/bin/grep "fbackup\(" logfile&lt;BR /&gt;or &lt;BR /&gt;/usr/bin/grep 'fbackup(' logfile &lt;BR /&gt;&lt;BR /&gt;good luck,&lt;BR /&gt;Thierry.</description>
      <pubDate>Sun, 21 Jul 2002 18:49:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-simple-sh-command/m-p/2768589#M74117</guid>
      <dc:creator>Thierry Poels_1</dc:creator>
      <dc:date>2002-07-21T18:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with simple sh command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-simple-sh-command/m-p/2768590#M74118</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The remsh will interprete the "-quotes by taking the string and then executes the string without the quotes.&lt;BR /&gt;&lt;BR /&gt;Solution:&lt;BR /&gt;replace fbackup( by fbackup\(&lt;BR /&gt;&lt;BR /&gt;Reason:&lt;BR /&gt;You loose the " by remsh and&lt;BR /&gt;then the shell will give you an error (not remsh):&lt;BR /&gt;&lt;BR /&gt;Real cause:&lt;BR /&gt;The shell sees (( .. )) as arithmetic expressions and ( .. ) are used to create subshells.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ceesjan</description>
      <pubDate>Sun, 21 Jul 2002 20:54:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-simple-sh-command/m-p/2768590#M74118</guid>
      <dc:creator>Ceesjan van Hattum</dc:creator>
      <dc:date>2002-07-21T20:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with simple sh command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-simple-sh-command/m-p/2768591#M74119</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;without \ (back slash) sh treats ( as special character. so to avoid this u should put \ before any special characters, like ( * ? ^ etc.,&lt;BR /&gt;&lt;BR /&gt;here \ is called as escape sequence&lt;BR /&gt;&lt;BR /&gt;regds</description>
      <pubDate>Mon, 22 Jul 2002 05:21:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-simple-sh-command/m-p/2768591#M74119</guid>
      <dc:creator>V. V. Ravi Kumar_1</dc:creator>
      <dc:date>2002-07-22T05:21:15Z</dc:date>
    </item>
  </channel>
</rss>

