HSH

HSH is designed to let you mix and match shell expressions with Haskell programs.
Download

HSH Ranking & Summary

Advertisement

  • Rating:
  • License:
  • LGPL
  • Price:
  • FREE
  • Publisher Name:
  • John Goerzen
  • Publisher web site:
  • http://software.complete.org/software/projects/show/datapacker

HSH Tags


HSH Description

HSH is designed to let you mix and match shell expressions with Haskell programs. HSH project is designed to let you mix and match shell expressions with Haskell programs. With HSH, it is possible to easily run shell commands, capture their output or provide their input, and pipe them to/from other shell commands and arbitrary Haskell functions at will.Here are a few examples to get you started:run $ "echo /etc/pass*" :: IO String -> "/etc/passwd /etc/passwd-"runIO $ "ls -l" -|- "wc -l" -> 12runIO $ "ls -l" -|- wcL -> 12runIO $ ("ls", )glob "~jgoerzen" >>= cd . headwcL is a pure Haskell function defined in HSH.ShellEquivs.wcLRequirements:· GHC 6.6 or above· FilePath· hslogger· MissingHInstallation:The first step is to generate your setup file. To do that, run: make setupNow: ./setup configure ./setup build ./setup installOptionally, to run the unit tests, you'll need to install HUnit. Then: make testor: make test-hugsWhat's New in This Release:· Support was added for ByteStrings and lazy ByteStrings for many operations.


HSH Related Software