[Dctrl-tools-devel] [PATCH] grep-dctrl.c: only print non-empty fields
jbernard at debian.org
Fri Dec 7 15:24:06 UTC 2007
* Antti-Juhani Kaijanaho <antti-juhani at kaijanaho.fi> wrote:
> On Thu, Dec 06, 2007 at 02:28:53PM -0500, Jon Bernard wrote:
> > Re: #265907 (grep-dctrl: exclude empty lines)
> > Only print non-empty fields. This is not a user-settable option (yet),
> > rather a first go to see how close I am.
> It occurs to me that it may not be a good idea to make it optional.
> I've tried to avoid changes that would break user scripts, but I have a
> hard time imagining a script that would break from making this change
Another option would be to not print the field at all if r.len == 0. Is
there a preference either way on this?
More information about the Dctrl-tools-devel