LOAD(I)                         16 Jan 75                     LOAD(I)

NAME
      load - compile and load

SYNOPSIS
	load arg1 arg2 ...
  or    load

DESCRIPTION
	load takes a list of arguments (flags or filenames)
	and sends them to the c compiler (cc) after appending, if necessary,
	the correct extension (.c or .o) to the filenames.  The resulting
	object code is loaded. Any previous a.out file is removed
	before compilation.

	The command string is remembered, so that subsequent invocations of
	load with no arguments will use the arguments from the most recent
	non-empty call.

	load passes all arguments preceded by a '-' to cc without further
	procssing; that is, cc flags are handled correctly.


NOTE
	sh arg		will take the argument list from user file arg.
			The first argument in the file must be load.
			(This is a standard operation of the shell.)

FILES
	/tmp/compil.<uid>  where <uid> is the user id returned by getuid().
			Used to save the current argument string.

SEE ALSO
	cc(I)		c compiler
	ex(I)           like load but it executes resultant a.out file

DIAGNOSTICS
	mainly self-explanatory

BUGS
	The same command file /tmp/compil.<uid> is used for the ex and load
		commands. This is necessary for the convenience of the
		Rand Editor (re).
	Arguments limited to 20 characters.  This will be fixed eventually.
