linux-mips
[Top] [All Lists]

Re: CVS Update@linux-mips.org: linux

To: Ralf Baechle <ralf@linux-mips.org>
Subject: Re: CVS Update@linux-mips.org: linux
From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: Thu, 28 Jul 2005 09:36:16 +0200 (CEST)
Cc: "Maciej W. Rozycki" <macro@linux-mips.org>, Niels Sterrenburg <pulsar@kpsws.com>, Linux/MIPS Development <linux-mips@linux-mips.org>
In-reply-to: <20050727192816.GF3626@linux-mips.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20050725213607Z8225534-3678+4335@linux-mips.org> <57480.194.171.252.100.1122478386.squirrel@mail.kpsws.com> <20050727172427.GB3626@linux-mips.org> <Pine.LNX.4.61L.0507271858050.13819@blysk.ds.pg.gda.pl> <20050727192816.GF3626@linux-mips.org>
Sender: linux-mips-bounce@linux-mips.org
On Wed, 27 Jul 2005, Ralf Baechle wrote:
> On Wed, Jul 27, 2005 at 07:03:16PM +0100, Maciej W. Rozycki wrote:
> >  It doesn't wipe other rubbish like spaces followed by tabs, though -- 
> > e.g. ones that would match "^ \t".  Perhaps `indent' could help with them, 
> > but I trust my fingers and eyes instead. ;-)
> 
> Of course it does:
> 
> [ralf@box ~]$ echo -ne '  \t\t' | perl -pi -e 's/[ \t]+$//' | od -x
> 0000000
> [ralf@box ~]$

Maciej meant spaces followed by tabs that do not end a line, e.g.

| tux$ echo -ne '  \t\tx' | perl -pi -e 's/[ \t]+$//' | od -x
| 0000000 2020 0909 0078
| 0000005

These are a bit more difficult to auto-remove, since simply removing them may
change indentation (modulo 8).

Gr{oetje,eeting}s,

                                                Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                                            -- Linus Torvalds

<Prev in Thread] Current Thread [Next in Thread>