<?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: ksh variable problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-variable-problem/m-p/3171183#M161289</link>
    <description>First, have you tried single quotes?&lt;BR /&gt;&lt;BR /&gt;Second, here's an overly simplistic suggestion:&lt;BR /&gt;&lt;BR /&gt;SUBJECT="DatabaseArchiveLogs"&lt;BR /&gt;&lt;BR /&gt;-or-&lt;BR /&gt;&lt;BR /&gt;SUBJECT="Database_Archive_Logs"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
    <pubDate>Thu, 22 Jan 2004 10:23:40 GMT</pubDate>
    <dc:creator>Pete Randall</dc:creator>
    <dc:date>2004-01-22T10:23:40Z</dc:date>
    <item>
      <title>ksh variable problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-variable-problem/m-p/3171182#M161288</link>
      <description>I have a ksh script that mailx a file.&lt;BR /&gt;The problem I am having is that the variable that I put for the subject only out put the first word.&lt;BR /&gt;&lt;BR /&gt;MAIL=/bin/mailx&lt;BR /&gt;MAILTO=lhradowy@whatever.ca&lt;BR /&gt;SUBJECT="Database Archive Logs"&lt;BR /&gt;&lt;BR /&gt;Here is my mail...&lt;BR /&gt;$MAIL -s $SUBJECT $MAILTO &amp;lt; $BACKUP_TEMP_LOG&lt;BR /&gt;&lt;BR /&gt;When I get my mail, the subject only says...&lt;BR /&gt;Database&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Jan 2004 10:18:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ksh-variable-problem/m-p/3171182#M161288</guid>
      <dc:creator>Ratzie</dc:creator>
      <dc:date>2004-01-22T10:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: ksh variable problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-variable-problem/m-p/3171183#M161289</link>
      <description>First, have you tried single quotes?&lt;BR /&gt;&lt;BR /&gt;Second, here's an overly simplistic suggestion:&lt;BR /&gt;&lt;BR /&gt;SUBJECT="DatabaseArchiveLogs"&lt;BR /&gt;&lt;BR /&gt;-or-&lt;BR /&gt;&lt;BR /&gt;SUBJECT="Database_Archive_Logs"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 22 Jan 2004 10:23:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ksh-variable-problem/m-p/3171183#M161289</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-01-22T10:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: ksh variable problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-variable-problem/m-p/3171184#M161290</link>
      <description>you'll need to put quotes around your subject:&lt;BR /&gt;$MAIL -s "$SUBJECT" $MAILTO &amp;lt; $BACKUP_TEMP_LOG</description>
      <pubDate>Thu, 22 Jan 2004 10:23:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ksh-variable-problem/m-p/3171184#M161290</guid>
      <dc:creator>curt larson_1</dc:creator>
      <dc:date>2004-01-22T10:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: ksh variable problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-variable-problem/m-p/3171185#M161291</link>
      <description>Try-&lt;BR /&gt; &lt;BR /&gt;$MAIL -s "$SUBJECT" $MAILTO &amp;lt;$BACKUP_TEMP_LOG&lt;BR /&gt; &lt;BR /&gt;Putting double quotes around subject tells the shell to treat it as one parameter.&lt;BR /&gt; &lt;BR /&gt;HTH&lt;BR /&gt; &lt;BR /&gt;-- Rod Hills</description>
      <pubDate>Thu, 22 Jan 2004 10:25:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ksh-variable-problem/m-p/3171185#M161291</guid>
      <dc:creator>Rodney Hills</dc:creator>
      <dc:date>2004-01-22T10:25:07Z</dc:date>
    </item>
  </channel>
</rss>

