Changeset 1440 for trunk/src/kmk/job.c


Ignore:
Timestamp:
Mar 30, 2008, 6:13:55 AM (17 years ago)
Author:
bird
Message:

Added comp-cmds-ex, commands, commands-sc and commands-usr. Added a '%' command prefix that make the commands functions skip the line. Added a -c flag to append that'll make it call commands on each argument (similar to -v). Fixed a little bug in comp-cmds/vars.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/job.c

    r1376 r1440  
    10561056      else if (*p == '-')
    10571057        child->noerror = 1;
     1058#ifdef CONFIG_WITH_COMMANDS_FUNC
     1059      else if (*p == '%')
     1060        flags |= COMMAND_GETTER_SKIP_IT;
     1061#endif
    10581062      else if (!isblank ((unsigned char)*p))
    10591063#ifndef CONFIG_WITH_KMK_BUILTIN
Note: See TracChangeset for help on using the changeset viewer.