Re: HP-UX sed limited to 100 commands problematic for modules/wchar

2011-02-08 Thread Bruno Haible
Eric Blake wrote: > the correct fix is to break this into > multiple sed scripts (we've already done it for other large headers, > such as unistd). Yes, that's the correct fix. On 2010-01-16 Ralf suggested to break up the sed commands after 50 substitutions, in order to keep away from the limit o

Re: HP-UX sed limited to 100 commands problematic for modules/wchar

2011-02-08 Thread Eric Blake
On 02/08/2011 12:45 PM, Albert Chin wrote: > wchar.h: wchar.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) > $(AM_V_GEN)rm -f $@-t $@ && \ > { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ > 27: sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ > -

Re: HP-UX sed limited to 100 commands problematic for modules/wchar

2011-02-08 Thread Ralf Wildenhues
Hello Albert, * Albert Chin wrote on Tue, Feb 08, 2011 at 08:45:13PM CET: > wchar.h: wchar.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) > $(AM_V_GEN)rm -f $@-t $@ && \ > { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ > 27: sed -e 's|@''INCLUDE_NEXT''@|$(INCL

HP-UX sed limited to 100 commands problematic for modules/wchar

2011-02-08 Thread Albert Chin
The HP-UX sed command is limited to 100 commands. From sed(1) on HP-UX 11.31: DESCRIPTION sed copies the named text files (standard input default) to the standard output, edited according to a script containing up to 100 commands. Only complete input lines are processed. Any in