On Tue, Jun 05, 2007 at 09:33:35AM +0200, Oleg Verych wrote:
Hallo.
On Sun, Jun 03, 2007 at 10:47:00PM +0200, Sam Ravnborg wrote:
Subject: [PATCH 08/19] scripts: Make cleanfile/cleanpatch warn about long
lines
From: H. Peter Anvin [EMAIL PROTECTED]
Date: Fri, 25 May 2007 17:58:26
On Tue, Jun 05, 2007 at 10:19:59AM +0200, Sam Ravnborg wrote:
[]
So, there are some new scripts. What if my proposition will be better,
so to speak? Any problems i'm willing to fix/enhance.
Note: only one copy of the file required. Sym-linked name *diff* or
*patch* will process patches.
On Tue, Jun 05, 2007 at 04:12:54PM +0200, Sam Ravnborg wrote:
On Tue, Jun 05, 2007 at 03:38:34PM +0200, Oleg Verych wrote:
On Tue, Jun 05, 2007 at 10:19:59AM +0200, Sam Ravnborg wrote:
[]
If on the other hand you are proposing a script to clean whitespace
damage in the code then git
On Tue, Jun 05, 2007 at 04:57:59PM +0200, Oleg Verych wrote:
[]
expand | while read line
do case $line in
++*) echo $line;;
$p*) [ ${#line} -gt $w79 ] : ${long:=line}
echo $line | sed /^$p/{s_ *\$__;s_^$p$s7${s}_$p${t}_;s_$s7 _${t}_g}
;;
*) echo $line;;
Subject: [PATCH 08/19] scripts: Make cleanfile/cleanpatch warn about long lines
From: H. Peter Anvin [EMAIL PROTECTED]
Date: Fri, 25 May 2007 17:58:26 -0700
Make the cleanfile and cleanpatch script warn about long lines,
by default lines whose visual width exceeds 79 characters.
Per suggestion