X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=EeIBOw+omGna5QPCXK33NhPmAF6KOKN3g9m32HSCkZsuQuE9oULL3 ruUwRdsjdHvWBurUEDC1cqmnnGE8GujTQuN88VIdkMTgi0YaRYQr1gOkSaGNuV4M jaExzDxzhFDkxZ6PKyxCUQcuZmQ3Wqa5pyclgDeIPoD9PsO7Oq3KMA= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; s=default; bh=v4XfJT/ua2CW6MIUASf0xZTYPzI=; b=B4lT7YIHS2IRph1YcGfVgs+JrNmy Gam6nj6w8zjyV1+UmiFsVMcDmNYJtF5g04D84P6Og+W+j5xmBxmT4XVeEptgBJny e7KWCPxT9q7IhWi4i2zn9VcdEfwEunTjuDuMLrCy6xZyh8US01t3fUk43W50Wo2W hkxwrds9u9VsKJU= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.7 required=5.0 tests=AWL,BAYES_00,FSL_HELO_BARE_IP_2,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2 spammy=UD:symantec.com, Hx-languages-length:217 X-HELO: plane.gmane.org To: cygwin AT cygwin DOT com From: Achim Gratz Subject: Re: BUG: grep (GNU grep) 2.24 Date: Mon, 21 Mar 2016 13:56:25 +0000 (UTC) Lines: 13 Message-ID: References: <70C6F637A7E2844391D854CF15BB7A8F5AAA58FF06 AT TUS1XCHEVSPIN42 DOT SYMC DOT SYMANTEC DOT COM> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes Gordon Grimes symantec.com> writes: > % wc -l FILE > 48786 > % grep . FILE > 2240 > > Very wrong. You're aware that "." doesn't match empty lines? Regards, Achim. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple