start page | rating of books | rating of authors | reviews | copyrights

UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: eqnChapter 2
Unix Commands
Next: Reference: ex
 

error

/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

Options

-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.


Previous: Reference: eqnUNIX in a Nutshell: System V EditionNext: Reference: ex
Reference: eqnBook IndexReference: ex

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System