<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 09 Jun 2026 10:48:48 +0000</lastBuildDate>
    <item>
      <title>(Other) Export a Single Sheet of an Excel Spreadsheet as CSV from the Command Line with Open Office - softmechanics</title>
      <link>https://snipplr.com/view/27342/export-a-single-sheet-of-an-excel-spreadsheet-as-csv-from-the-command-line-with-open-office</link>
      <description>&lt;p&gt;modified from branflake2267's post at oooforum.org:&#13;
http://www.oooforum.org/forum/viewtopic.phtml?t=52942&#13;
&#13;
usage:&#13;
Paste into the Standard.Module1 macro file.  Then, create xls2csv bash script containing:&#13;
&#13;
    #!/bin/bash&#13;
    file="$(readlink -f "$1")"&#13;
    /usr/lib/openoffice/program/soffice -invisible -headless -norestore "macro:///Standard.Module1.ConvertXls2Csv(\"$file\", \"$2\")"&#13;
&#13;
&#13;
The first argument is the xls file name, second is the name of the sheet:&#13;
&#13;
`xls2csv ./spreadsheet.xls "Some Sheet"`&lt;/p&gt;</description>
      <pubDate>Fri, 29 Jan 2010 20:28:06 UTC</pubDate>
      <guid>https://snipplr.com/view/27342/export-a-single-sheet-of-an-excel-spreadsheet-as-csv-from-the-command-line-with-open-office</guid>
    </item>
    <item>
      <title>(Haskell) Simple Broadcatcher in Haskell/HSH - softmechanics</title>
      <link>https://snipplr.com/view/26826/simple-broadcatcher-in-haskellhsh</link>
      <description>&lt;p&gt;HSH is a cool haskell library that allows you to leverage your shell scripting prowess in haskell programs.  In this simple broadcatcher, I use curl for http get, and other standard unix tools for tracking history (so we don't get the same file twice).  The feed parsing and filtering is done in haskell using the Text.Feed and Text.Regex libraries.  &#13;
&#13;
Note: if you decide to use this in real life, be sure to respect your feed's time to live (ttl) in your crontab.&lt;/p&gt;</description>
      <pubDate>Thu, 21 Jan 2010 16:00:24 UTC</pubDate>
      <guid>https://snipplr.com/view/26826/simple-broadcatcher-in-haskellhsh</guid>
    </item>
  </channel>
</rss>
