From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 3871B138CA2 for ; Thu, 23 Apr 2015 11:33:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B9557E0954; Thu, 23 Apr 2015 11:32:58 +0000 (UTC) Received: from homiemail-a47.g.dreamhost.com (sub5.mail.dreamhost.com [208.113.200.129]) by pigeon.gentoo.org (Postfix) with ESMTP id 8D81AE0942 for ; Thu, 23 Apr 2015 11:32:55 +0000 (UTC) Received: from homiemail-a47.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a47.g.dreamhost.com (Postfix) with ESMTP id D815028406E for ; Thu, 23 Apr 2015 04:32:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=libertytrek.org; h= message-id:date:from:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; s= libertytrek.org; bh=2aV1EMb2v3SD6gPWEZkd4b2IgJg=; b=KehcdXuXCf/q 6QclHwAR/hLLoJ4XiDGPIq5wN4dciH2I9ErbKD/MkSOP6TYN6fFn+uHkOt1Qewvp DTCPVjb8i5iW1sy7uB4/YO0mPykE/LayBTwMIifB24PDVoMn1Ia7nOYryYJheBMk 3QCGPFfQDbAMLdNalybGaK8onIGobVU= Received: from [192.168.1.110] (unknown [159.63.145.4]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: tanstaafl@libertytrek.org) by homiemail-a47.g.dreamhost.com (Postfix) with ESMTPSA id B8C0D28406C for ; Thu, 23 Apr 2015 04:32:54 -0700 (PDT) Message-ID: <5538D866.80309@libertytrek.org> Date: Thu, 23 Apr 2015 07:32:54 -0400 From: Tanstaafl User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] grep -lr ignoring subdirs that start with dot (.)? References: <553173CD.4090801@libertytrek.org> <20150417225927.25380c30@digimed.co.uk> In-Reply-To: <20150417225927.25380c30@digimed.co.uk> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Archives-Salt: 17b02c15-5a5b-47e3-b7cb-4f47cf223d27 X-Archives-Hash: 464f68ae82daf7ec360d1c8af84b0b82 On 4/17/2015 5:59 PM, Neil Bothwick wrote: > Since you want to search the entire contents f the current directory, > there is no need to pass grep a list of directories (especially not an > incomplete list), use "grep -lr ." Ok, thanks Neil, but this is still not what I'm looking for... here's a snip of what I got: > ./user1/Maildir/.Sent/cur/1348064019.M219121P18374.mailhost.com,S=7615,W=7788:2,S > ./user1/Maildir/.Sent/dovecot.index.cache > ./user2/Maildir/cur/1348063111.Vfe02Ia7fe0eM242648.mailhost.com:2,S > ./user2/Maildir/dovecot.index.cache What I'd like is the output you get with 'grep -ir "searchstring" .' which includes the line of text from each matching file that contains the searchstring, like this: > ./user/Maildir/cur/1429731479.M511050P25876.hostname,S=3097,W=3185:2,S:Name asked me to approve Test PO 12036 this afternoon so she could see > ./user/Maildir/cur/1429731479.M511050P25876.hostname,S=3097,W=3185:2,S:it in the system. In looking at Test PO 12033 & 12034 they show signed > ./user/Maildir/cur/1429731479.M511050P25876.hostname,S=3097,W=3185:2,S:by me however I did not approve these test PO's only test PO 12036 - how > ./user/Maildir/cur/1429731479.M511050P25876.hostname,S=3097,W=3185:2,S: Name asked me to approve Test PO 12036 this afternoon so she could but... What I'd like is for each output line showing the file-hit to be prefaced with at least the date/time of the file (permissions/owner etc would be ok too, but I at least need the date/time), like you get when doing an ls -al... Is this just not possible? Thanks again...