Read compiler error messages, and insert them into the source files that generated them. This makes it easier to work during the typical edit-compile-debug cycle. Typical usage would be:
cc -O -c
2>&1 | error
Do not edit any files; print errors on standard output.
prompts for a
response before inserting error messages into a file.
Print statistics about the different kinds of errors.
After inserting error messages into the source files, run vi
on the files.
Only process files whose suffixes appear in list
. Suffixes are dot-separated, and wildcards are allowed, but should be quoted to prevent interpretation by the shell.