rewrite: open file and rewrite it with new contents
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
Downloads
- rewrite-0.2.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.2, 0.4, 0.6, 0.8, 0.10 |
---|---|
Dependencies | base (>=4.6 && <4.7), directory (>=1.2 && <1.3), multiarg (>=0.16 && <0.17), process (>=1.1 && <1.2), temporary (>=1.1 && <1.2) [details] |
License | BSD-3-Clause |
Copyright | 2013 Omari Norman |
Author | Omari Norman |
Maintainer | omari@smileystation.com |
Category | System |
Home page | http://www.github.com/massysett/rewrite |
Uploaded | by OmariNorman at 2013-07-09T16:00:13Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Executables | rewrite |
Downloads | 3637 total (3 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs not available [build log] Successful builds reported [all 7 reports] |