<?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: Converting csv to xls using raw unix shell script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/converting-csv-to-xls-using-raw-unix-shell-script/m-p/4453813#M661822</link>
    <description>Hi (again) Hasim:&lt;BR /&gt;&lt;BR /&gt;...and I misread this as a CSV format to XML (instead of XLS, since after all this is UNIX), so as Mel said, just import your file into M$ Excel and be done!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Mon, 06 Jul 2009 19:04:05 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2009-07-06T19:04:05Z</dc:date>
    <item>
      <title>Converting csv to xls using raw unix shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/converting-csv-to-xls-using-raw-unix-shell-script/m-p/4453809#M661818</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I know about some perl module which can do this.&lt;BR /&gt;But I dont have root access to install those modules.&lt;BR /&gt;Thus want some idea how we can do that by unix shell scripting only.&lt;BR /&gt;&lt;BR /&gt;Thanks for your help in advance.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Hasim</description>
      <pubDate>Mon, 06 Jul 2009 15:35:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/converting-csv-to-xls-using-raw-unix-shell-script/m-p/4453809#M661818</guid>
      <dc:creator>ABUL HASIM</dc:creator>
      <dc:date>2009-07-06T15:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: Converting csv to xls using raw unix shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/converting-csv-to-xls-using-raw-unix-shell-script/m-p/4453810#M661819</link>
      <description>Hi Hasim:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; I know about some perl module which can do this. But I dont have root access to install those modules.  Thus want some idea how we can do that by unix shell scripting only.&lt;BR /&gt;&lt;BR /&gt;I'm glad that you know about Perl and its modules.  Not having root access to install them should not be a deterrent.  Either ask your system administrator to do this for you; _OR_ install them in your ${HOME} directory.  By default, Perl includes your current path in @INC.&lt;BR /&gt;&lt;BR /&gt;Doing this without the Perl module support is not going to be trivial.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 06 Jul 2009 15:41:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/converting-csv-to-xls-using-raw-unix-shell-script/m-p/4453810#M661819</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-07-06T15:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: Converting csv to xls using raw unix shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/converting-csv-to-xls-using-raw-unix-shell-script/m-p/4453811#M661820</link>
      <description>Against the risk of pointing the obvious, why in the world do you need to do this ? If you have a comma delimited file, saved as *.csv and you have a recent enough (last 5 years or maybe even more) version of MS Excel, you have the file association for the *.csv, set to excel by default.&lt;BR /&gt;&lt;BR /&gt;If you have an application which gets its input from xls files, then you might want to consider using something like authotkey to open this document in excel and saving it as xls file on the PC side. Look for *.ahk scripts flourishing around the web for that.&lt;BR /&gt;&lt;BR /&gt;I am sorry but as JRF also said, tackling Microsoft's proprietary binary formats is not a picnic in the park.</description>
      <pubDate>Mon, 06 Jul 2009 15:56:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/converting-csv-to-xls-using-raw-unix-shell-script/m-p/4453811#M661820</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2009-07-06T15:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: Converting csv to xls using raw unix shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/converting-csv-to-xls-using-raw-unix-shell-script/m-p/4453812#M661821</link>
      <description>"..tackling Microsoft's proprietary binary formats is not a picnic in the park."&lt;BR /&gt;&lt;BR /&gt;read that as "just plain ugly".&lt;BR /&gt;&lt;BR /&gt;and just for fun, yahoo turns up 450,000+ hits on "unix convert csv to xls", the first two pages of which actually talk about going from xls to csv...&lt;BR /&gt;&lt;BR /&gt;somebody already did the work in a perl module, it makes sense to use that (if you absolutely have to do the conversion).  &lt;BR /&gt;&lt;BR /&gt;As previously noted, with most later installations, double clicking a .csv file will cause it to open in Excel anyway, so I don't see much advantage to doing this.</description>
      <pubDate>Mon, 06 Jul 2009 18:51:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/converting-csv-to-xls-using-raw-unix-shell-script/m-p/4453812#M661821</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2009-07-06T18:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: Converting csv to xls using raw unix shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/converting-csv-to-xls-using-raw-unix-shell-script/m-p/4453813#M661822</link>
      <description>Hi (again) Hasim:&lt;BR /&gt;&lt;BR /&gt;...and I misread this as a CSV format to XML (instead of XLS, since after all this is UNIX), so as Mel said, just import your file into M$ Excel and be done!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 06 Jul 2009 19:04:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/converting-csv-to-xls-using-raw-unix-shell-script/m-p/4453813#M661822</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-07-06T19:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: Converting csv to xls using raw unix shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/converting-csv-to-xls-using-raw-unix-shell-script/m-p/4453814#M661823</link>
      <description>Just import into XLS has three ways from CSV and they all behave differently&lt;BR /&gt;&lt;BR /&gt;* Double-click on the CSV file&lt;BR /&gt;* Open .CSV file from Excel&lt;BR /&gt;* Data-&amp;gt;import from Excel&lt;BR /&gt;&lt;BR /&gt;The first two will incorrectly ignore all quotation and do conversions you don't want or expect&lt;BR /&gt;&lt;BR /&gt;1,"12-11-2009",booz&lt;BR /&gt;&lt;BR /&gt;will translate the second field to Dec/11/2009, something obviously NOT intended (it's quoted, right, it is a string).&lt;BR /&gt;&lt;BR /&gt;When using (perl) scripts to convert CSV to XLS, those things can easily be controlled.&lt;BR /&gt;&lt;BR /&gt;My module Spreadsheet::Read comes with a csv2xls convertor with many options.&lt;BR /&gt;As others already mentioned, you don't need root access to install them&lt;BR /&gt;&lt;BR /&gt;$ export PERL5LIB=$HOME/perl5/lib:$HOMe/perl5/arch&lt;BR /&gt;&lt;BR /&gt;might be all you need to access your modules installed in ~/perl5&lt;BR /&gt;&lt;BR /&gt;HTH, Enjoy, Have FUN! H.Merijn</description>
      <pubDate>Tue, 07 Jul 2009 09:42:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/converting-csv-to-xls-using-raw-unix-shell-script/m-p/4453814#M661823</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2009-07-07T09:42:23Z</dc:date>
    </item>
  </channel>
</rss>

