bug-gnulib
[Top][All Lists]
Advanced

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

Re: [Bug-gnulib] no new tabs please (was: normalize leading and remove t


From: Bruno Haible
Subject: Re: [Bug-gnulib] no new tabs please (was: normalize leading and remove trailing white space from imported files)
Date: Fri, 15 Aug 2003 17:16:54 +0200
User-agent: KMail/1.5

Paul Eggert wrote:
>       * config/srclist-update: Change update back to the old behavior,
>       leaving whitespace alone.

Thanks. I'd like also to drop the tabs from ref-add.sin, through this patch.
Any objections?

Bruno


2003-08-15  Bruno Haible  <address@hidden>

        * srclist-update (fixlicense): If no tab was present after '#', use
        three spaces instead of a tab.

diff -c -3 -r1.13 srclist-update
*** srclist-update      13 Aug 2003 20:23:14 -0000      1.13
--- srclist-update      15 Aug 2003 15:14:00 -0000
***************
*** 43,49 ****
  #  
  # sed command to fix the license to be GPL.
  fixlicense='
!   /^\([[:space:]]*#[[:space:]]*\)Th[ei][ s].* is free 
software/,/^[[:space:]]*#.*USA\./c\
  #     This program is free software; you can redistribute it and/or modify\
  #     it under the terms of the GNU General Public License as published by\
  #     the Free Software Foundation; either version 2, or (at your option)\
--- 43,49 ----
  #  
  # sed command to fix the license to be GPL.
  fixlicense='
!   /^\([[:space:]]*#   \)Th[ei][ s].* is free 
software/,/^[[:space:]]*#.*USA\./c\
  #     This program is free software; you can redistribute it and/or modify\
  #     it under the terms of the GNU General Public License as published by\
  #     the Free Software Foundation; either version 2, or (at your option)\
***************
*** 57,62 ****
--- 57,77 ----
  #     You should have received a copy of the GNU General Public License along\
  #     with this program; if not, write to the Free Software Foundation,\
  #     Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ 
+   /^\([[:space:]]*#[[:space:]]*\)Th[ei][ s].* is free 
software/,/^[[:space:]]*#.*USA\./c\
+ #   This program is free software; you can redistribute it and/or modify\
+ #   it under the terms of the GNU General Public License as published by\
+ #   the Free Software Foundation; either version 2, or (at your option)\
+ #   any later version.\
+ #\
+ #   This program is distributed in the hope that it will be useful,\
+ #   but WITHOUT ANY WARRANTY; without even the implied warranty of\
+ #   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\
+ #   GNU General Public License for more details.\
+ #\
+ #   You should have received a copy of the GNU General Public License along\
+ #   with this program; if not, write to the Free Software Foundation,\
+ #   Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  
    /Th[ei][ s].* is free software/,/USA\.  *\*\//c\
     This program is free software; you can redistribute it and/or modify\





reply via email to

[Prev in Thread] Current Thread [Next in Thread]