[kbuild-devel] [patch] scripts: clean-whitespace.sh

2007-06-07 Thread Oleg Verych
After running this script with filename as parameter, look (with diff) for, what can be corrected. Only "*.diff" and "*.patch" files are handled as patches. Signed-off-by: Oleg Verych <[EMAIL PROTECTED]> -- Two clean rules added, that can change look of damaged lines. Yet script still fits one

Re: [kbuild-devel] Sunifdef

2007-06-07 Thread Oleg Verych
* From: David Woodhouse * Date: Thu, 24 May 2007 11:32:45 -0400 > > On Wed, 2007-05-23 at 13:29 +0100, Jonathan Underwood wrote: >> Dear Kernel list, >> >> I've noticed in the past that unifdef is used in kernel package >> building. I wonder if you're aware of a maintained and more >> featureful

Re: [kbuild-devel] Another version of cleanfile/cleanpatch

2007-06-07 Thread Oleg Verych
On Thu, Jun 07, 2007 at 04:19:56PM -0700, H. Peter Anvin wrote: > Oleg Verych wrote: > > > > Because of that, i think, following is redundant: > > > > - to check for binary files > > find . -type f | xargs cleanfile What about patches? Anyway, by agreement (with myself), i've stopped on having

Re: [kbuild-devel] Another version of cleanfile/cleanpatch

2007-06-07 Thread H. Peter Anvin
Oleg Verych wrote: > > Because of that, i think, following is redundant: > > - to check for binary files find . -type f | xargs cleanfile I do this all the time. > - scan whole file for long lines, with useless bunch of messages about > ones. Useless, because script doesn't fix that, it can'

Re: [kbuild-devel] Another version of cleanfile/cleanpatch

2007-06-07 Thread Oleg Verych
On Thu, Jun 07, 2007 at 04:36:33PM +0200, Jan Engelhardt wrote: > > On Jun 6 2007 21:14, Oleg Verych wrote: > >[] > >> > Many things in XXI century still can be done by tools founded 20-30 > >> > years ago. Why not try to? > >> > >> Because your shell script is unreadable by normal human beings[*