Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Libraries

    HSH 1.2.6.0

    Download button

    No screenshots available
    Downloads: 408  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Very Good (4.0/5)
    4 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    John Goerzen | More programs
    LGPL / FREE
    January 16th, 2008, 19:49 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    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"
    -> 12

    runIO $ "ls -l" -|- wcL
    -> 12

    runIO $ ("ls", ["-l", "file with spaces.txt"])
    glob "~jgoerzen" >>= cd . head

    wcL is a pure Haskell function defined in HSH.ShellEquivs.wcL

    Requirements:

    · GHC 6.6 or above
    · FilePath
    · hslogger
    · MissingH

    Installation:

    The first step is to generate your setup file. To do that, run:

    make setup

    Now:

    ./setup configure
    ./setup build
    ./setup install

    Optionally, to run the unit tests, you'll need to install HUnit. Then:

    make test

    or:

    make test-hugs

    What's New in This Release:

    · Support was added for ByteStrings and lazy ByteStrings for many operations.



    Product's homepage

      


    TAGS:

    mix shell expressions | match shell expressions | Haskell programs | HSH | mix | match

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM