On Mon, 2006-11-13 at 16:18 -0800, David Miller wrote:
> From: Peter Zijlstra <[EMAIL PROTECTED]>
> Date: Mon, 13 Nov 2006 14:38:05 +0100
>
> > I noticed an insane high density of repeated characters fixable by a
> > simple regular expression:
> >
> > % s/{.fn = \([^,]*\),[[:space:]]\+\(\\\n[[:
From: Peter Zijlstra <[EMAIL PROTECTED]>
Date: Mon, 13 Nov 2006 14:38:05 +0100
> I noticed an insane high density of repeated characters fixable by a
> simple regular expression:
>
> % s/{.fn = \([^,]*\),[[:space:]]\+\(\\\n[[:space:]]\+\)\?.name =
> "\1"}/TYPE_SCTP_FUNC(\1)/g
>
> (NOTE: the .
I noticed an insane high density of repeated characters fixable by a
simple regular expression:
% s/{.fn = \([^,]*\),[[:space:]]\+\(\\\n[[:space:]]\+\)\?.name =
"\1"}/TYPE_SCTP_FUNC(\1)/g
(NOTE: the .name for .fn = sctp_sf_do_9_2_start_shutdown didn't match)
Signed-off-by: Peter Zijlstra <[EM