File:  [MW Coherent from dump] / coherent / a / usr / man / COHERENT / lasterror
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:34 2019 UTC (7 years ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent



LASTERROR             Environmental Variable            LASTERROR




Program that last generated an error

LLAASSTTEERRRROORR=_p_r_o_g_r_a_m _n_a_m_e

The environmental  variable LASTERROR  names the last  program to
have returned  an error  to the shell.   For example, if  you had
used the  command set with  an incorrect number  of arguments, it
would have failed to run and would have exited with an error con-
dition, and LASTERROR would read LASTERROR=set.

The  command help  reads  LASTERROR to  determine  what the  last
program was  for which you  needed help.  Thus, if  you type help
without an argument, it will return information about the program
named in LASTERROR.

***** See Also *****

environmental variables






































COHERENT Lexicon                                           Page 1



unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.