<?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: Script output in table format in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/script-output-in-table-format/m-p/2909353#M933211</link>
    <description>You can use awk to format your output depending on how predictable the output data is.&lt;BR /&gt;&lt;BR /&gt;If you tell me what the output looks like now and what you'd like it to look like, I can help you out.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 20 Feb 2003 16:01:06 GMT</pubDate>
    <dc:creator>Kent Ostby</dc:creator>
    <dc:date>2003-02-20T16:01:06Z</dc:date>
    <item>
      <title>Script output in table format</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-output-in-table-format/m-p/2909351#M933209</link>
      <description>Hi everybody&lt;BR /&gt;&lt;BR /&gt;I got a script that gives a lot of numeric output and now I want to put in table format....I just don??t know how!!! Is this possible to do?&lt;BR /&gt;If so...how can I do it?&lt;BR /&gt;I am really lost here...&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;SN</description>
      <pubDate>Thu, 20 Feb 2003 15:38:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-output-in-table-format/m-p/2909351#M933209</guid>
      <dc:creator>Starrynight</dc:creator>
      <dc:date>2003-02-20T15:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: Script output in table format</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-output-in-table-format/m-p/2909352#M933210</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;The easist way is to use formatted printing with 'printf'.  See the man pages for more information.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 20 Feb 2003 15:58:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-output-in-table-format/m-p/2909352#M933210</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2003-02-20T15:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: Script output in table format</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-output-in-table-format/m-p/2909353#M933211</link>
      <description>You can use awk to format your output depending on how predictable the output data is.&lt;BR /&gt;&lt;BR /&gt;If you tell me what the output looks like now and what you'd like it to look like, I can help you out.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Feb 2003 16:01:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-output-in-table-format/m-p/2909353#M933211</guid>
      <dc:creator>Kent Ostby</dc:creator>
      <dc:date>2003-02-20T16:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Script output in table format</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-output-in-table-format/m-p/2909354#M933212</link>
      <description>If you already have a shell script I'd also think that a little extension that uses the printf command as already suggested would be the quickest solution.&lt;BR /&gt;&lt;BR /&gt;If you have ever coded in C (or any syntactic C-alikes like Java, Perl, awk, Python etc.) you know how to use it.&lt;BR /&gt;&lt;BR /&gt;On the other hand this is a true job for Perl (remember its acronym originally stood for "Practical Reporting and Extraction Language", though we all know that it stands for "Pathologically Eclectic Rubbish Lister").&lt;BR /&gt;See, the emphasis used to be on report generation.&lt;BR /&gt;For anything having to do with parsing, formatting, filtering text Perl to the rescue.</description>
      <pubDate>Thu, 20 Feb 2003 16:50:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-output-in-table-format/m-p/2909354#M933212</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2003-02-20T16:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: Script output in table format</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-output-in-table-format/m-p/2909355#M933213</link>
      <description>The others comments about PERL, C and printf are all good.  However, I suggest using echo statements, with either tab characters or commas between fields.  The tab characters are crude, but they often work.  The commas are good because you can then save your work with a .csv extension and open your document with Excel or some other spreadsheet program.  &lt;BR /&gt;&lt;BR /&gt;The command echo "$DATA1,$DATA2"&amp;gt;&amp;gt;FILE is all you need. Then attach the file as a MIME compliant document with "uuencode FILE FILE|mailx -s "My subject" me@myplace.com.  When it shows up in your email, just double-click on the attachment, and it will automatically open up in Excel.  &lt;BR /&gt;&lt;BR /&gt;Of course, this assumes that you have email working......if not, just ftp the document to your workstation, then double click.  &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Chris</description>
      <pubDate>Thu, 20 Feb 2003 17:00:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-output-in-table-format/m-p/2909355#M933213</guid>
      <dc:creator>Chris Vail</dc:creator>
      <dc:date>2003-02-20T17:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: Script output in table format</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-output-in-table-format/m-p/2909356#M933214</link>
      <description>Hi, SN&lt;BR /&gt;&lt;BR /&gt;If you want HTML format in the output you can do this very easily wiht the tags &lt;TABLE&gt; &lt;/TABLE&gt; and .&lt;BR /&gt;&lt;BR /&gt;Frank.</description>
      <pubDate>Thu, 20 Feb 2003 17:44:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-output-in-table-format/m-p/2909356#M933214</guid>
      <dc:creator>Francisco J. Soler</dc:creator>
      <dc:date>2003-02-20T17:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: Script output in table format</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-output-in-table-format/m-p/2909357#M933215</link>
      <description>Hi all&lt;BR /&gt;&lt;BR /&gt;I solved my problem with echo and printf.&lt;BR /&gt;Thank you all.&lt;BR /&gt;&lt;BR /&gt;SN</description>
      <pubDate>Fri, 21 Feb 2003 11:34:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-output-in-table-format/m-p/2909357#M933215</guid>
      <dc:creator>Starrynight</dc:creator>
      <dc:date>2003-02-21T11:34:20Z</dc:date>
    </item>
  </channel>
</rss>

