kdebase/kate/app [POSSIBLY UNSAFE]
Wilbert Berendsen
wbsoft at xs4all.nl
Tue May 25 20:14:24 UTC 2004
On Tuesday 25 May 2004 16:49, Oswald Buddenhagen wrote:
> On Tue, May 25, 2004 at 04:29:08PM +0200, Wilbert Berendsen wrote:
> > > > + childproc->setUseShell( true );
> > >
> > > any particular reason for this?
> >
> > to find `find' and `grep', but I could use KStandarddirs.
>
> finding grep is obvoiusly find's task. and KProcess cares for find
> itself; it uses execvp.
You're completely right :-) forgive me, I'm an (eagerly) beginner :-)
> of course it should be portable. grep -H is no problem because of the
> /dev/null trick, just remove it.
done,
> find is a bigger problem. i think it
> would be best to get rid of it alltogether; implementing a recursive
> directory traverser is quite simple (either with QDir or posix-only
> with opendir/readdir/glob), and an xargs-replacement is no problem,
> either (note the maximal command line length; one of our configures
> checks it).
good idea, will look in it later on... :-)
Wilbert
--
Wilbert Berendsen (www.xs4all.nl/~wbsoft, www.kde.nl, www.kerklied.net)
"Reporter: Mr. Ghandi, what do you think of western civilisation?
Ghandi: I think that would be a great idea." -- (bron onbekend)
More information about the KDevelop-devel
mailing list