Haskell shell script template http://hub.darcs.net/dino/hscrtmpl

Latest on Hackage:1.5

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

ISC licensed by Dino Morelli
Maintained by Dino Morelli



Haskell shell script template (Haskell)


A template for writing shell scripts in Haskell. Contains some useful functions and examples of things commonly done in bash.

Getting source

  • Download the cabalized source package from Hackage
  • Get the source with darcs: $ darcs get http://hub.darcs.net/dino/hscrtmpl
  • Get the source with stack: $ stack unpack hscrtmpl
  • If you're just looking, browse the source


Dino Morelli <dino@ui3.info>


1.5 (2016-11-18)

  • Changed license from BSD3 to ISC
  • Moved copyright year up to 2016
  • Switched build and execution from cabal/runhaskell to stack
  • Commented out example code that uses regexp, it imposes more deps
  • Some changes to avoid defaultTimeLocale confusion

1.4 (2015-07-04)

  • Added time-locale-compat for backwards compatibility

1.3 (2015-07-03)

  • Most of the commented examples are now live code
  • Replaced deprecated System.Cmd with System.Process
  • Updated copyright date
  • Fixed ambiguous import of defaultTimeLocale
  • Fixed some things in the cabal file
  • Added README.md file

1.2 (2014-02-28)

  • Updated cabal fields
  • Updated copyright date
  • Now using a shorter date format string
  • Updated date/time code for System.Time deprecation

1.1 (2013-09-13)

  • Added a Setup.hs to make this a valid cabalized package
  • Added new utility functions toExitCode, exitBool and forSystem
  • Added custom boringfile

1.0 (2013-04-15)

  • Initial release
Depends on 4 packages:
Used by 1 package:
comments powered byDisqus