packages feed

rewrite-0.6: rewrite.cabal

name:                rewrite
version:             0.6
synopsis:            open file and rewrite it with new contents
description:
  In the Unix shell there is no easy way to use a filter program
  to change the contents of a file in-place. For example, if you
  want to sort a file in place, this will not work:
  .
  sort \< myfile \> myfile
  .
  All that will get you is an empty myfile. This package
  gives you the rewrite program, so this will work:
  .
  rewrite myfile sort

homepage:            http://www.github.com/massysett/rewrite
license:             BSD3
license-file:        LICENSE
author:              Omari Norman
maintainer:          omari@smileystation.com
copyright:           2013 Omari Norman
category:            System
build-type:          Simple
cabal-version:       >=1.8

source-repository head
  type: git
  location: git://github.com/massysett/rewrite.git

executable rewrite
  main-is: rewrite.hs
  build-depends:
      base ==4.6.*
    , multiarg ==0.24.*
    , directory ==1.2.*
    , process-extras ==0.2.*
    , bytestring ==0.10.*
  ghc-options: -Wall