Update README

This commit is contained in:
Bryan O'Sullivan 2010-10-10 16:05:33 -07:00
parent 450cb9aa64
commit f8769d77bb
3 changed files with 27 additions and 51 deletions

50
README
View File

@ -1,50 +0,0 @@
FileManip: expressive file manipulation
---------------------------------------
This package provides functions and combinators for searching,
matching, and manipulating files.
It provides four modules.
System.FilePath.Find lets you search a filesystem hierarchy efficiently:
find always (extension ==? ".pl") >>= mapM_ remove
System.FilePath.GlobPattern lets you perform glob-style pattern
matching, without going through a regexp engine:
"foo.c" ~~ "*.c" ==> True
System.FilePath.Glob lets you do simple glob-style file name searches:
namesMatching "*/*.c" ==> ["foo/bar.c"]
System.FilePath.Manip lets you rename files procedurally, edit files
in place, or save old copies as backups:
modifyWithBackup (<.> "bak")
(unlines . map (takeWhile (/= ',')) . lines)
"myPoorFile.csv"
To build and install:
runhaskell Setup configure
runhaskell Setup build
runhaskell Setup install
To understand:
http://darcs.serpentine.com/filemanip/dist/doc/html/FileManip/
To contribute:
darcs get http://darcs.serpentine.com/filemanip
Contributors:
Bryan O'Sullivan

26
README.markdown Normal file
View File

@ -0,0 +1,26 @@
# filemanip: expressive file manipulation
This package provides functions and combinators for searching,
matching, and manipulating files.
# Get involved!
Please report bugs via the
[bitbucket issue tracker](http://bitbucket.org/bos/attoparsec/filemanip).
Master [Mercurial repository](http://bitbucket.org/bos/filemanip):
* `hg clone http://bitbucket.org/bos/filemanip`
There's also a [git mirror](http://github.com/bos/filemanip):
* `git clone git://github.com/bos/filemanip.git`
(You can create and contribute changes using either Mercurial or git.)
# Authors
This library is written and maintained by Bryan O'Sullivan,
<bos@serpentine.com>.

View File

@ -12,7 +12,7 @@ Description: A Haskell library for working with files and directories.
Cabal-version: >= 1.6
Build-type: Simple
Extra-Source-Files: README
Extra-Source-Files: README.markdown
Library