aboutsummaryrefslogtreecommitdiff
path: root/toys/pending/pgrep.c
AgeCommit message (Collapse)Author
2015-10-11Cleanup pass on pgrep: remove flag_twiddle macros, use 0 constants,Rob Landley
unify some TT.signame tests checking constant value variable initialized to.
2015-09-11Replace toys.exithelp with help_exit() in lib.Rob Landley
2014-12-31Redo option parsing infrastructure so #define FORCE_FLAGS can unzero flag ↵Rob Landley
macros for a disabled command (needed when multiple commands share infrastructure with a common set of flags). This means the flag space is no longer packed, but leaves gaps where the zeroes go. (Actual flag bit positions are the same for all configs.) Since the option parsing needs to know where the holes are, the OPTSTR values are now generated as part of flags.h with ascii 1 values for the disabled values. (So generated/oldflags.h went away.) This also means that the option string argument for OLDTOY() went away, it now uses the same arguments as the NEWTOY() it references.
2013-08-18Use OPTSTR_command macro for more oldtoys, to avoid keeping two option ↵Rob Landley
strings in sync. (todo: figure out how to make OLDTOY() automatically use macro. Still need the raw version for subset ala cp/mv though.)
2013-08-11Ashwini Sharma said that Kyungwan Han should be in the contact info for the ↵Rob Landley
commands he sent recently.
2013-07-25pgrep and pkill by Madhur Verma,Rob Landley