Add cmdline script and example from 23id.
Clean up cmdline script.

Works with autosave and 'dbl > foo.dbl' generated files.
Update gitignore file.