Skip to content

casey/edmunge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

edmunge

Good news everybody! You can finally use your favorite inscrutable text editor as a scripting language!

edmunge is a recursive acronym that stands for EDmunge Mashes Until No Good, with Ed.

Briefly, edmunge lets you destructively edit text files using scripts filled with ed commands. What could go wrong?

For example:

$ cat document
My sweet document!
$ cat script.ed
#!/usr/bin/env edmunge
,s/!/?/
w
$ ./script.ed document
19
19
$ cat document
My sweet document?

installation

$ cargo install edmunge

inspiration

edmunge was inspired by Julia Evan's blog post on batch-editing files with ed and funded thanks to a generous grant from the RAND Corporation.

To improve your ed skills, I recommend the delightful Ed Mastery by Michael W. Lucas.

About

❓ Use ed to munge your files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published