From owner-freebsd-current@FreeBSD.ORG Sat Jul 24 04:54:20 2010 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1568C1065674 for ; Sat, 24 Jul 2010 04:54:20 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id AD1F18FC0C for ; Sat, 24 Jul 2010 04:54:19 +0000 (UTC) Received: (qmail 25318 invoked by uid 399); 24 Jul 2010 04:54:18 -0000 Received: from localhost (HELO laptop.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 24 Jul 2010 04:54:18 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Date: Fri, 23 Jul 2010 21:54:16 -0700 (PDT) From: Doug Barton To: Gabor Kovesdan In-Reply-To: Message-ID: References: <4C4A6F00.9000203@FreeBSD.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-message-flag: Outlook -- Not just for spreading viruses anymore! OpenPGP: id=1A1ABC84 Organization: http://SupersetSolutions.com/ MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1162088418-1279947258=:1697" Cc: freebsd-current@FreeBSD.org Subject: Re: [bsdgrep] grep -ql does not supress output X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jul 2010 04:54:20 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-1162088418-1279947258=:1697 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed On Fri, 23 Jul 2010, Doug Barton wrote: > Thanks. I took another look at it, and I think the attached patch does the > trick, Oops, forgot !Lflag in the last bit, this one fixes it. Doug -- Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/ Computers are useless. They can only give you answers. -- Pablo Picasso --0-1162088418-1279947258=:1697 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=bsdgrep-ql.diff Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename=bsdgrep-ql.diff SW5kZXg6IGdyZXAuYw0KPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQ0KLS0tIGdy ZXAuYwkocmV2aXNpb24gMjEwNDM4KQ0KKysrIGdyZXAuYwkod29ya2luZyBj b3B5KQ0KQEAgLTQ2NiwxMSArNDY2LDExIEBADQogCQkJYnJlYWs7DQogCQlj YXNlICdMJzoNCiAJCQlsZmxhZyA9IGZhbHNlOw0KLQkJCUxmbGFnID0gcWZs YWcgPSB0cnVlOw0KKwkJCUxmbGFnID0gdHJ1ZTsNCiAJCQlicmVhazsNCiAJ CWNhc2UgJ2wnOg0KIAkJCUxmbGFnID0gZmFsc2U7DQotCQkJbGZsYWcgPSBx ZmxhZyA9IHRydWU7DQorCQkJbGZsYWcgPSB0cnVlOw0KIAkJCWJyZWFrOw0K IAkJY2FzZSAnbSc6DQogCQkJbWZsYWcgPSB0cnVlOw0KSW5kZXg6IHV0aWwu Yw0KPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PQ0KLS0tIHV0aWwuYwkocmV2aXNp b24gMjEwNDM4KQ0KKysrIHV0aWwuYwkod29ya2luZyBjb3B5KQ0KQEAgLTIy Niw5ICsyMjYsOSBAQA0KIAkJCXByaW50ZigiJXM6IiwgbG4uZmlsZSk7DQog CQlwcmludGYoIiV1XG4iLCBjKTsNCiAJfQ0KLQlpZiAobGZsYWcgJiYgYyAh PSAwKQ0KKwlpZiAobGZsYWcgJiYgIXFmbGFnICYmIGMgIT0gMCkNCiAJCXBy aW50ZigiJXNcbiIsIGZuKTsNCi0JaWYgKExmbGFnICYmIGMgPT0gMCkNCisJ aWYgKExmbGFnICYmICFxZmxhZyAmJiBjID09IDApDQogCQlwcmludGYoIiVz XG4iLCBmbik7DQogCWlmIChjICYmICFjZmxhZyAmJiAhbGZsYWcgJiYgIUxm bGFnICYmDQogCSAgICBiaW5iZWhhdmUgPT0gQklORklMRV9CSU4gJiYgZi0+ YmluYXJ5ICYmICFxZmxhZykNCkBAIC0zNDIsNyArMzQyLDcgQEANCiAJCXJl dHVybiAoYyk7IC8qIEJpbmFyeSBmaWxlICovDQogDQogCS8qIERlYWxpbmcg d2l0aCB0aGUgY29udGV4dCAqLw0KLQlpZiAoKHRhaWwgfHwgYykgJiYgIWNm bGFnICYmICFxZmxhZykgew0KKwlpZiAoKHRhaWwgfHwgYykgJiYgIWNmbGFn ICYmICFxZmxhZyAmJiAhbGZsYWcgJiYgIUxmbGFnKSB7DQogCQlpZiAoYykg ew0KIAkJCWlmICghZmlyc3QgJiYgIXByZXYgJiYgIXRhaWwgJiYgQWZsYWcp DQogCQkJCXByaW50ZigiLS1cbiIpOw0K --0-1162088418-1279947258=:1697--