[PATCH] Scripty: find KAboutData quicker
Nicolas Goutte
nicolasg at snafu.de
Fri Oct 1 15:18:52 BST 2004
The attached patch is for kde-common/admin/cvs.sh
It tries to speed up the search for the string KAboutData:
- by using fgrep (fast grep) instead of the normal grep
- by using -q not to give output
- by using -s not to give error output
- by using directly the result of fgrep as test.
(The patch depends on GNU tools' behaviour but here compatibility is
secondary, as the code is only for Scripty.)
Please commit it, as I have not enough Karma for the admin directory.
Have a nice day!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cvs_sh_kaboutdata.diff
Type: text/x-diff
Size: 761 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20041001/1d1d7a7f/attachment.diff>
More information about the kde-core-devel
mailing list