Luke Kendall wrote:

Rick Welykochy wrote:
Any relation to perror() ?

http://www.penguin-soft.com/penguin/man/3/perror.html?manpath=/man/man3/perror.3.inc

No, none whatsoever.  :-)  perror() is a system call for use in
programs.  "error" is an executable for use from the command line or
scripts.  If you have a program that processes a source file (e.g. gcc
and .c files, or groff and the Mss for an article), and the program
reports lots of errors, then "error" can edit the source file to insert
the etxt of each error just before the line that has the error.  Then
you edit the source file, visiting each error and fixing it up.  This
saves you from flipping between two files.  It's one of those
traditional Unix small utilities that does one thing well.

An interesting detective challenge. I began searching on google for the
following:

"error utility"  "error message" "source code"

which produced 240 results. Chasing up one on the SLUG list ...

http://lists.slug.org.au/archives/slug/2003/05/msg00896.html

    * To: Sydney Linux Users Group <[EMAIL PROTECTED]>
    * Subject: [SLUG] Anyone know where to find the "error" utility?
    * From: [EMAIL PROTECTED]
    * Date: Sat, 24 May 2003 15:08:44 +1000 (EST)

Further searching turned up this page in the CVS attic for the
BSD utility:

    http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.bin/error/Attic/

And this:

    http://lists.slug.org.au/archives/slug/2003/05/msg00909.html

where you proposed porting the thing to Linux.
And that is where I stopped searching.
Good luck. Perhaps you can find the sources you need in the Attic.


cheers
rickw



--
_________________________________
Rick Welykochy || Praxis Services

Traditionally, most of Australia's imports come from overseas.
     -- Keppel Enderbery
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to