The FileManip package

[Tags: bsd3, deprecated, library]

Deprecated in favor of filemanip

A Haskell library for working with files and directories. Includes code for pattern matching, finding files, modifying file contents, and more.

[Skip to ReadMe]


Versions0.1, 0.2, 0.3, 0.3.1, 0.3.2, 0.3.3,
Change logNone available
Dependenciesbase, bytestring, directory, filepath, mtl, unix [details]
AuthorBryan O'Sullivan <>
MaintainerBryan O'Sullivan
UploadedSun Feb 3 17:54:00 UTC 2008 by BryanOSullivan
Downloads1766 total (56 in last 30 days)
0 []
StatusDocs uploaded by user
Build status unknown [no reports yet]




splitbaseChoose the new, split-up base package.EnabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainers' corner

For package maintainers and hackage trustees

Readme for FileManip-0.3.2

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)

To build and install:

  runhaskell Setup configure
  runhaskell Setup build
  runhaskell Setup install

To understand:

To contribute:

  darcs get


  Bryan O'Sullivan