<?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: Problems with backslashes in script being translated incorrectly in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-backslashes-in-script-being-translated-incorrectly/m-p/3373815#M713541</link>
    <description>I expected to see MYDIR=\\\\dir1\\dir2&lt;BR /&gt;instead of MYDIR=\\\\dir1\\\\dir2\\\\&lt;BR /&gt;&lt;BR /&gt;Does it give any error??</description>
    <pubDate>Tue, 07 Sep 2004 14:16:26 GMT</pubDate>
    <dc:creator>RAC_1</dc:creator>
    <dc:date>2004-09-07T14:16:26Z</dc:date>
    <item>
      <title>Problems with backslashes in script being translated incorrectly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-backslashes-in-script-being-translated-incorrectly/m-p/3373814#M713540</link>
      <description>Does anyone have experiences with using a series of backslashes that cancel themselves out to equal one?&lt;BR /&gt;&lt;BR /&gt;I have a user that created ftp scripts two years ago to access a win2k ftp server -- all of a sudden this "broke" and although I could not see OS changes, etc. that would cause this, I'm not really comfortable in expecting these to work as expected.&lt;BR /&gt;&lt;BR /&gt;The backslashes are used like this :&lt;BR /&gt;MYDIR=\\\\dir1\\\\dir2\\\\&lt;BR /&gt;&lt;BR /&gt;Does anyone use these in scripts?  I did tell the user to just use forward slashes, but they are reluctant to change anything that has worked for 2 years.  Plus, I haven't found a lot of information about using backslashes in such a manner... I was hoping either that someone would have experience (either positive or negative) or other tricks &amp;amp; information so that I can firmly recommend my proposed changes to the script.  I looked for quite some time but did not see much information about the subject.&lt;BR /&gt;&lt;BR /&gt;Thanks!!!</description>
      <pubDate>Tue, 07 Sep 2004 13:57:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-backslashes-in-script-being-translated-incorrectly/m-p/3373814#M713540</guid>
      <dc:creator>Chris Hulihan</dc:creator>
      <dc:date>2004-09-07T13:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with backslashes in script being translated incorrectly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-backslashes-in-script-being-translated-incorrectly/m-p/3373815#M713541</link>
      <description>I expected to see MYDIR=\\\\dir1\\dir2&lt;BR /&gt;instead of MYDIR=\\\\dir1\\\\dir2\\\\&lt;BR /&gt;&lt;BR /&gt;Does it give any error??</description>
      <pubDate>Tue, 07 Sep 2004 14:16:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-backslashes-in-script-being-translated-incorrectly/m-p/3373815#M713541</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-09-07T14:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with backslashes in script being translated incorrectly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-backslashes-in-script-being-translated-incorrectly/m-p/3373816#M713542</link>
      <description>With no errors to go on, it's tough to say for sure... but, if there were no OS changes and the script didn't change, then it stands to reason that something changed on the Win2k system or maybe some network change that effected communication between the systems. Definitely need more detail to give a better idea of the problem though.</description>
      <pubDate>Tue, 07 Sep 2004 14:30:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-backslashes-in-script-being-translated-incorrectly/m-p/3373816#M713542</guid>
      <dc:creator>Jeff_Traigle</dc:creator>
      <dc:date>2004-09-07T14:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with backslashes in script being translated incorrectly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-backslashes-in-script-being-translated-incorrectly/m-p/3373817#M713543</link>
      <description>What they're doing is this :&lt;BR /&gt;        ftp -i -n &amp;lt;&amp;lt;-%% &amp;gt; $OUTFILE 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;                open $SERVER&lt;BR /&gt;                user $USERID $PASSWD&lt;BR /&gt;                $TYPE&lt;BR /&gt;                cd $REMOTEDIR&lt;BR /&gt;                $CMD $ARG1 $ARG2&lt;BR /&gt;                bye&lt;BR /&gt;        %%&lt;BR /&gt;&lt;BR /&gt;Basically, they're saying $REMOTEDIR=\\\\dir1\\\\dir2\\\\&lt;BR /&gt;and calling the ftp script this way... &lt;BR /&gt;</description>
      <pubDate>Tue, 07 Sep 2004 14:31:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-backslashes-in-script-being-translated-incorrectly/m-p/3373817#M713543</guid>
      <dc:creator>Chris Hulihan</dc:creator>
      <dc:date>2004-09-07T14:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with backslashes in script being translated incorrectly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-backslashes-in-script-being-translated-incorrectly/m-p/3373818#M713544</link>
      <description>Here is the error message seen on the ftp server side : &lt;BR /&gt; "dir1dir2myfile.csv: The system cannot find the file specified." &lt;BR /&gt;&lt;BR /&gt;Note, this problem is run by a batch system named locally as "maestro" which is actually a tivoli product (Tivoli Scheduler?).  The script will run fine manually... which seems really strange.&lt;BR /&gt;&lt;BR /&gt;I already forwarded this to the people that support the batch scheduling software, but they did not find anything conclusive.  I was hoping that maybe someone would have had problems with using the backslash (or maybe tell me that this is pretty solid and have ideas for something else that I can look for)... I have looked through ftp client, kernel changes, etc. for anything that has changed since the last successful run of this script.&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Sep 2004 14:47:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-backslashes-in-script-being-translated-incorrectly/m-p/3373818#M713544</guid>
      <dc:creator>Chris Hulihan</dc:creator>
      <dc:date>2004-09-07T14:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with backslashes in script being translated incorrectly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-backslashes-in-script-being-translated-incorrectly/m-p/3373819#M713545</link>
      <description>Check the shell that Trivoli uses to run this script.&lt;BR /&gt;&lt;BR /&gt;which shell do you use while executing this script from the command line ?&lt;BR /&gt;&lt;BR /&gt;Edit the script and explicitly define the shell to use in the first line&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/sh&lt;BR /&gt;&lt;BR /&gt;and try again from the scheduler.&lt;BR /&gt;&lt;BR /&gt;Consider defining REMOTEDIR as&lt;BR /&gt;&lt;BR /&gt;REMOTEDIR="c:\dir1\dir2"</description>
      <pubDate>Tue, 07 Sep 2004 14:54:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-backslashes-in-script-being-translated-incorrectly/m-p/3373819#M713545</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2004-09-07T14:54:51Z</dc:date>
    </item>
  </channel>
</rss>

