Android uses the Edify scripting language to apply updates in its recovery. Edify is the second generation of script used by Google, which replaced Amend few alongside Android 1.5 Cupcake update. You can read more about history of Android here.
Edify is used in updater-scripts, and it essentially consists of small text files with a set of commands for the recovery with instructions on how to handle the files in zip. Building Android from source generates all necessary files, but not every ROM is built from source. Because of this, syntax errors in Edify are something really common. A couple of days ago we talked about a Windows-only tool to check Edify scripts. But Windows is not the best environment to build Android, and that’s why this tool can’t be used by all ROM builders. But now thanks to XDA Senior Member thewisenerd, the Edify syntax can be checked on all operating systems. Thewisenerd did this by writing a plugin for the popular multi-platform text editor Geany. With this plugin, checking syntax is really easy. And even more important, it can be done on Linux, Mac, and Windows. Installation is really simple, and even newcomers to Linux should be able to successfully configure Geany to use updater-script syntax highlighter.
If you are struggling with Edify editing, you should visit the original thread and give this tool a go. Say goodbye to ClockworkMod or TWRP errors—they won’t be missed._________