bug-gnulib
[Top][All Lists]
Advanced

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

Re: Fwd: sed porting trouble


From: Bruno Haible
Subject: Re: Fwd: sed porting trouble
Date: Sat, 2 Oct 2010 12:07:56 +0200
User-agent: KMail/1.9.9

Hi Joachim,

> The problem is that the -Wcolumns=... doesn't seem to override the pragmas in
> the source.

Yes, that's clear from the documentation that you pointed us to.

> I'd rather see lines of 80 chars or shorter than adding pragmas all over the 
> place.

Not me.

> That command of yours  gives 348 lines of output... I attached it.

Thanks. After massaging it with

  sed -e 's/^.*h://' -e 's/>.*/>/' -e 's/h".*/h"/' -e 's/ *# */#/' 
~/pragma.list \
  | sort | uniq | \
  | sed -n -e 's/#include <\(.*\)\.h>/\1.h \1.in.h/p' | sed -e 's/\//_/g' 

I get the list of affected files in gnulib:

arpa_inet.in.h
ctype.in.h
locale.in.h
math.in.h
netinet_in.in.h
regex.h
sched.in.h
signal.in.h
spawn.in.h
stdarg.in.h
stddef.in.h
stdio.in.h
stdlib.in.h
string.in.h
sys_socket.in.h
sys_stat.in.h
sys_time.in.h
sys_wait.in.h
time.in.h
wchar.in.h

Bruno



reply via email to

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