<?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 Carriage return missing in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/carriage-return-missing/m-p/2735075#M721877</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Is there a solution for the missing carriage return in the following script:&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/sh&lt;BR /&gt;&lt;BR /&gt;CLUSTER_STATUS=`cmviewcl -v` #output of the cluster status&lt;BR /&gt;&lt;BR /&gt;print $CLUSTER_STATUS #Carriage return missing&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;YC</description>
    <pubDate>Fri, 31 May 2002 05:57:24 GMT</pubDate>
    <dc:creator>yc_2</dc:creator>
    <dc:date>2002-05-31T05:57:24Z</dc:date>
    <item>
      <title>Carriage return missing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/carriage-return-missing/m-p/2735075#M721877</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Is there a solution for the missing carriage return in the following script:&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/sh&lt;BR /&gt;&lt;BR /&gt;CLUSTER_STATUS=`cmviewcl -v` #output of the cluster status&lt;BR /&gt;&lt;BR /&gt;print $CLUSTER_STATUS #Carriage return missing&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;YC</description>
      <pubDate>Fri, 31 May 2002 05:57:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/carriage-return-missing/m-p/2735075#M721877</guid>
      <dc:creator>yc_2</dc:creator>
      <dc:date>2002-05-31T05:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: Carriage return missing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/carriage-return-missing/m-p/2735076#M721878</link>
      <description>&lt;BR /&gt;print "${CLUSTER_STATUS} \n"&lt;BR /&gt;&lt;BR /&gt;Now it will print with a carriage return.&lt;BR /&gt;</description>
      <pubDate>Fri, 31 May 2002 06:00:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/carriage-return-missing/m-p/2735076#M721878</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2002-05-31T06:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Carriage return missing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/carriage-return-missing/m-p/2735077#M721879</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;seems like your command output doesn't give a carriage return to your variable value. Did you try the following:&lt;BR /&gt;&lt;BR /&gt;echo  "$CLUSTER_STATUS\n"&lt;BR /&gt;&lt;BR /&gt;this generates a new line into which your cursor is put. Don't forget the quotes, or this will not work. Works also with print command, if you use linux, try&lt;BR /&gt;&lt;BR /&gt;echo -e "$CLUSTER_STATUS"&lt;BR /&gt;&lt;BR /&gt;Allways stay on the bright side of life!&lt;BR /&gt;&lt;BR /&gt;Peter</description>
      <pubDate>Fri, 31 May 2002 06:05:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/carriage-return-missing/m-p/2735077#M721879</guid>
      <dc:creator>Peter Kloetgen</dc:creator>
      <dc:date>2002-05-31T06:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: Carriage return missing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/carriage-return-missing/m-p/2735078#M721880</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Thanks for your answers, but why can't the content be piped and send through mailx as follows:&lt;BR /&gt;&lt;BR /&gt;echo "\n" | mailx -s "Cluster Status" &lt;MAIL_ADDR&gt; &amp;lt; "$CLUSTER_STATUS\n"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;YC&lt;/MAIL_ADDR&gt;</description>
      <pubDate>Fri, 31 May 2002 06:41:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/carriage-return-missing/m-p/2735078#M721880</guid>
      <dc:creator>yc_2</dc:creator>
      <dc:date>2002-05-31T06:41:54Z</dc:date>
    </item>
  </channel>
</rss>

