/usr/ccs/bin/error
[
options
] [
files
]
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
files
2>&1 | error
-n
Do not edit any files; print errors on standard output.
-q
Query. error
prompts for a y
or n
response before inserting error messages into a file.
-s
Print statistics about the different kinds of errors.
-v
After inserting error messages into the source files, run vi
on the files.
-t
list
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.