Rick Welykochy wrote: > Luke Kendall wrote: > >> Does anyone know whether it's available for Linux? I haven't been able >> to find it via synaptic, rpmfind, apt-cache search, or google searches. >> The best I can find are the man pages. >> >> I also see that it's included in the developer tools for MacOS X. > > 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. Regards, luke -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
