Re: CVS Update@xxxxxxxxxxxxxx: linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx

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


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux