This command can be used to undefine previously defined XSH subroutines. The expression is evaluated as a Perl regular expression. All subroutines whose names match are undefined. Note, that like def, all undef commands are processed during the compilation of the source code, not at run-time, so it doesn't matter how deep in the code is a undef command nested.