FileManip 0.3.1 → 0.3.2
raw patch · 7 files changed
+68/−19 lines, 7 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- FileManip.cabal +13/−13
- LICENSE +1/−2
- README +50/−0
- System/FilePath/Find.hs +1/−1
- System/FilePath/Glob.hs +1/−1
- System/FilePath/GlobPattern.hs +1/−1
- System/FilePath/Manip.hs +1/−1
FileManip.cabal view
@@ -1,15 +1,16 @@-Name: FileManip-Version: 0.3.1-License: BSD3-License-File: LICENSE-Author: Bryan O'Sullivan <bos@serpentine.com>-Maintainer: Bryan O'Sullivan-Synopsis: Expressive file and directory manipulation for Haskell.-Category: System-Description: A Haskell library for working with files and directories.- Includes code for pattern matching, finding files,- modifying file contents, and more.-Cabal-version: >= 1.2+Name: FileManip+Version: 0.3.2+License: BSD3+License-File: LICENSE+Author: Bryan O'Sullivan <bos@serpentine.com>+Maintainer: Bryan O'Sullivan+Synopsis: Expressive file and directory manipulation for Haskell.+Category: System+Description: A Haskell library for working with files and directories.+ Includes code for pattern matching, finding files,+ modifying file contents, and more.+Cabal-version: >= 1.2+Extra-Source-Files: README Flag splitBase Description: Choose the new, split-up base package.@@ -26,4 +27,3 @@ System.FilePath.Glob, System.FilePath.GlobPattern, System.FilePath.Manip- Extra-Source-Files: README
LICENSE view
@@ -1,5 +1,4 @@-Copyright:- Bryan O'Sullivan+Copyright 2007, 2008 Bryan O'Sullivan. All rights reserved.
+ README view
@@ -0,0 +1,50 @@+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
System/FilePath/Find.hs view
@@ -3,7 +3,7 @@ -- | -- Module: System.FilePath.Find -- Copyright: Bryan O'Sullivan--- License: LGPL+-- License: BSD3 -- Maintainer: Bryan O'Sullivan <bos@serpentine.com> -- Stability: unstable -- Portability: Unix-like systems (requires newtype deriving)
System/FilePath/Glob.hs view
@@ -1,7 +1,7 @@ -- | -- Module: System.FilePath.Glob -- Copyright: Bryan O'Sullivan--- License: LGPL+-- License: BSD3 -- Maintainer: Bryan O'Sullivan <bos@serpentine.com> -- Stability: unstable -- Portability: everywhere
System/FilePath/GlobPattern.hs view
@@ -1,7 +1,7 @@ -- | -- Module: System.FilePath.GlobPattern -- Copyright: Bryan O'Sullivan--- License: LGPL+-- License: BSD3 -- Maintainer: Bryan O'Sullivan <bos@serpentine.com> -- Stability: unstable -- Portability: everywhere
System/FilePath/Manip.hs view
@@ -3,7 +3,7 @@ -- | -- Module: System.FilePath.Manip -- Copyright: Bryan O'Sullivan--- License: LGPL+-- License: BSD3 -- Maintainer: Bryan O'Sullivan <bos@serpentine.com> -- Stability: unstable -- Portability: Unix-like systems (requires flexible instances)