SYSunalias

Top  Previous  Next

If an input with the compensation rules works on.

With this procedure an input line is worked on. Besides, every appearance of a pattern for which a regular expression exists becomes exchanged by compensation. Besides, one command line is substituted if necessary with several lines. If SYSunalias finds no compensation, ZERO is delivered as a result and registers the calling in such a way that he can work with the original expression. Otherwise a list is delivered by command lines. The compensation is carried out only single-step.

Parametre

cmd (CMD *) [IN]

Herewith the calling delivers a line to the procedure which tries to expand this. If this succeeds, this expansion is delivered as a result.

Result

(CMD *) [OUT]

If the procedure has found a compensation for the input, this compensation is converted into command lines and as a result zurückgeliefert. This can be a whole chain of command lines.

Declaration

#include "system.h"

 

CMD* DLLENTRY SYSunalias (

CMD * cmd

);