summaryrefslogtreecommitdiff
path: root/grep-dctrl/grep-dctrl.c
AgeCommit message (Collapse)AuthorFilesLines
2010-09-11tbl-dctrl: Figure out the fields from the input if no '-c' is given.Antti-Juhani Kaijanaho1-5/+8
Closes: #596424 reported by myself Signed-off-by: Antti-Juhani Kaijanaho <ajk@debian.org>
2010-08-08grep-dctrl: Make a help string more comprehensibleAntti-Juhani Kaijanaho1-2/+2
Signed-off-by: Antti-Juhani Kaijanaho <ajk@debian.org>
2009-12-12Update FSF address in license blurbs all over the source tree.Antti-Juhani Kaijanaho1-3/+3
Signed-off-by: Antti-Juhani Kaijanaho <ajk@debian.org>
2009-08-08Fix Debian bug #511022.Antti-Juhani Kaijanaho1-0/+1
Signed-off-by: Antti-Juhani Kaijanaho <ajk@debian.org>
2009-04-16grep-dctrl: add new mode for exact package name matchingStefano Zacchiroli1-0/+10
Add to grep-dctrl the new matching mode --whole-pkg / -w. It behaves as -e (extended regexp matching), but matches over exact package names, thus avoiding sub-package name matching. Closes: #383921 Signed-off-by: Stefano Zacchiroli <zack@debian.org>
2009-01-06Fix #506138 by forbidding such messed up command lines.Antti-Juhani Kaijanaho1-0/+5
Signed-off-by: Antti-Juhani Kaijanaho <ajk@debian.org>
2008-07-05msg.[ch] (and others): allow the message functions to handle format stringsAntti-Juhani Kaijanaho1-30/+28
There are some places in the code where it would simplify both the code and the translations to have message strings be printf-formatted. This change changes the message function interfaces so that they can take a variable number of arguments. This required changes at all call sites. At the same time, the key logic of the message functions is moved out of the headers, leaving only the "shall we output this" test for inlining. Signed-off-by: Antti-Juhani Kaijanaho <ajk@debian.org>
2007-12-11grep-dctrl/grep-dctrl.c: don't display a field with an empty valueJon Bernard1-3/+10
Reported by Dan Jacobson <jidanni@jidanni.org> Signed-off-by: Jon Bernard <jbernard@debian.org>
2007-08-05Update copyright linesAntti-Juhani Kaijanaho1-2/+2
2007-04-11grep-dctrl/grep-dctrl.c: fix GET_BACKUP_FIELD for (size_t)-1 on machines ↵Antti-Juhani Kaijanaho1-1/+1
where sizeof(int) != sizeof(size_t)
2007-04-08grep-dctrl: new option --invert-show (-I)Antti-Juhani Kaijanaho1-39/+88
Closes: #144174 (please provide a --filter-fields option of some sort) Reported by Yann Dirson <dirson@debian.org> Merged with #264905 (show all fields except FIELD,FIELD,...) Reported by Dan Jacobson <jidanni@jidanni.org>
2006-10-26create lib/, man/ and $(program)/Antti-Juhani Kaijanaho1-0/+875