Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Sep 2009 20:02:18 -0400
From:      Jon Radel <jon@radel.com>
To:        Gary Kline <kline@thought.org>
Cc:        FreeBSD Mailing List <freebsd-questions@FreeBSD.ORG>
Subject:   Re: difficult-to-phrase question...
Message-ID:  <4A9F078A.1050800@radel.com>
In-Reply-To: <20090902234324.GA1735@thought.org>
References:  <20090902234324.GA1735@thought.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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.
>

Do you mean something like

rm `grep -l S *`

or am I completely missing the point of what you're trying to do?

-- 

--Jon Radel
jon@radel.com

[-- Attachment #2 --]
0	*H
010	+0	*H
	100\^
Xq0
	*H
0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
090225041326Z
100225041326Z0^10URadel10U*
Jon Thomas10UJon Thomas Radel10	*H
	
jon@radel.com0"0
	*H
0
O箩js;:|+\&W4fMcjDX&̡4g;}we62xrqF?6K#zjdf~pC.l5ծ>f%!T`O\BIe Gv$l\9BbkOBHnKl-q;
MlL (ٕ ,OJ%gCqb!?hض2y*0(0U0
jon@radel.com0U00
	*H
SWWƳN&⼮i#E[%Ҟ';uT}|m}^yըO-ʧ}BYp#tcSu
Bj8+G$bC4g/qi
77Stڄկ<`SNfT00\^
Xq0
	*H
0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
090225041326Z
100225041326Z0^10URadel10U*
Jon Thomas10UJon Thomas Radel10	*H
	
jon@radel.com0"0
	*H
0
O箩js;:|+\&W4fMcjDX&̡4g;}we62xrqF?6K#zjdf~pC.l5ծ>f%!T`O\BIe Gv$l\9BbkOBHnKl-q;
MlL (ٕ ,OJ%gCqb!?hض2y*0(0U0
jon@radel.com0U00
	*H
SWWƳN&⼮i#E[%Ҟ';uT}|m}^yըO-ʧ}BYp#tcSu
Bj8+G$bC4g/qi
77Stڄկ<`SNfT0?0
0
	*H
010	UZA10UWestern Cape10U	Cape Town10U
Thawte Consulting1(0&UCertification Services Division1$0"UThawte Personal Freemail CA1+0)	*H
	personal-freemail@thawte.com0
030717000000Z
130716235959Z0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA00
	*H
0Ħ<UsUNʙZhup[v:aQP
0cZ,p+Z?qV˯<6$*+w=+>@dקe*TH<a@dr`00U00CU<0:08642http://crl.thawte.com/ThawtePersonalFreemailCA.crl0U0)U"0 010UPrivateLabel2-1380
	*H
HP.
fgCL!6-6/P p<ab:~t%Pb'qW%ݩ9 Oe_N4[5MwV!x!5$F]_eO1d0`0v0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA^
Xq0	+0	*H
	1	*H
0	*H
	1
090903000218Z0#	*H
	1fc!WhюlWj0R	*H
	1E0C0
*H
0*H
0
*H
@0+0
*H
(0	+71x0v0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA^
Xq0*H
	1xv0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA^
Xq0
	*H
xk!!왫KCA!/^\+s6-IgjLG5bQ@auqU>$irR16}˴	*UB0i9#kz30Y"!CQTɌDRFNM'8RRÔ$ϣ ߖX8TɈe5˒̚ΑS_z@@,gfg&

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A9F078A.1050800>