From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 00:23:06 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 52318106568F for ; Thu, 3 Sep 2009 00:23:06 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-yx0-f203.google.com (mail-yx0-f203.google.com [209.85.210.203]) by mx1.freebsd.org (Postfix) with ESMTP id 0C0948FC25 for ; Thu, 3 Sep 2009 00:23:05 +0000 (UTC) Received: by yxe41 with SMTP id 41so521300yxe.27 for ; Wed, 02 Sep 2009 17:23:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=5p2vQqkyKo9E8Vl2HBTJdR8y7c40Udkw+Oazx34I27k=; b=NCl9Voa5nqwgtS5r3B5HFlc0WTeNAHS/RH9AufogXsyFHn+UHmNo0MwGCulVftTK57 zkmWXD/ACxntlUN8CKksQYQe/K3bpM0YX2ReCvgvjfNKEYs0xtXeAVbkd+2acafTmgWS K8DePCZ+IDRIvX4HSsbBuzHmj1bvjT0MIL0uc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=shVnBjIPsFZtEUo7sXL4wisP9cty8fji73UGFe4zx8uYWULxRKo2ZPlkBoxpWLWKgJ VQ/P4Pf/6EraXEVdxVbpFsjeDhP4AfsLaqzAK/p+D6g+UQsZAGX0Xo/VTSgqUOYA7DYt u339FhWLOt7x4ikmlTjvWD0+xT72tgoYQg5Gg= MIME-Version: 1.0 Received: by 10.150.61.20 with SMTP id j20mr15022854yba.42.1251937385158; Wed, 02 Sep 2009 17:23:05 -0700 (PDT) In-Reply-To: <20090902234324.GA1735@thought.org> References: <20090902234324.GA1735@thought.org> Date: Wed, 2 Sep 2009 19:23:05 -0500 Message-ID: <6201873e0909021723o124e75e5q72223989b138f395@mail.gmail.com> From: Adam Vande More To: Gary Kline Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Mailing List Subject: Re: difficult-to-phrase question... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 00:23:06 -0000 On Wed, Sep 2, 2009 at 6:43 PM, Gary Kline wrote: > > guys, (of either gender) > > here's one that is a bit difficult to figure out how to ask, but > here's my first shot: > > i'm looking for a file what contains string "S". the filename > in this case has a zillion letters, but that beside the point. > > i can use grep to find "S" and grep gives me the file[s] that > have the string. now, is there any easy way of reading that > file, or deleting or otherwise munging that file? > > nutshell is that every time i reboot (into kde), kde wastes > time/cpu spawning unwanted whatever: versions of konqueror, kttsd, > ksayit, &c. [[i found these files in > ~/.kde/share/config/session, about 20, dated may, 09 to oct 08. > rm'ing the bunch would get rid of the instantiate problem, but > having a script to diddle with a found string "S" would be > useful esp'ly if the filename of pathname were long. > > i'll mouse swipe the string and fname to prove my point. > thanks for any help. > > gary > > ps: if scripting this is too grizzly i'll do it in C and do an > inline post of src and example use. > > > > > p4 16:18 [5058] rgr www.h-online > ~/.kde/share/config/session > > ./konqueror_101be1a31b9d1000124363848400000011730067_1243656675_647947:12:ViewT0_URL[$e]= > http://www.h-online.com/open/Google-Wave-The-instant-wiki-communicator--/news/113410 > > Have you tried logging out of kde with those apps closed? -- Adam Vande More