fabric/fabric — pull request #697 by fgth (2012-07-31 08:22:46+00:00)
Title: Deeply improved contrib/files.py

Needing a lot of text files modifications, I deeply improved the functions in contrib/files.py :
- created a function for escaping special characters when using egrep, sed,...
- created an insert() function to insert a line before or after a line matching a regex
- created a delete() function, to do what it seems ;)
- modified existing functions append() and contains()
See top of files.py for details.

This functions was tested and validated regarding my needs.
If it seems useful for you (Fabric team), I'm asking for beta-testers to see if some modifications or enhancements must be done. Thank you for your attention ;)