What's your sed version - it works fine for me...

# sed --version
GNU sed version 3.02

Copyright (C) 1998 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE,
to the extent permitted by law.

# make faq.html
cd . && /bin/sh ./missing --run echo 

cd . && /bin/sh ./missing --run echo


-----------------------------------------------
Converting docs/FAQ to HTML format  .... Please wait

faq.html done !
-----------------------------------------------



-----Burton



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
Of Kouprie, Robbert
Sent: Monday, September 15, 2003 9:33 AM
To: '[EMAIL PROTECTED]'
Subject: [Ntop-dev] HTML FAQ conversion problem in Makefile


Hi,

Compilation of a freshly checked out tree on a Redhat 9 system fails at the
generation of the HTML FAQ:

Converting docs/FAQ to HTML format  .... Please wait

sed: -e expression #1, char 11: Invalid range end
make[2]: *** [faq.html] Error 1
make[2]: Leaving directory `/home/rob/ntop-cvs-20030915/ntop'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/rob/ntop-cvs-20030915/ntop'
make: *** [install-recursive] Error 1

The second sed expression in line 1136 of the Makefile seems to cause the
problem.

1133   @echo "-----------------------------------------------"
1134   @echo "Converting $< to HTML format  .... Please wait"
1135   @echo ""
1136   @gawk -f utils/faqtohtml.awk $< | sed 's///g' | sed 's[ -~]//g' >
html/faq.html
1137   @cp -f html/faq.html faq.html
1138   @echo "$@ done !"
1139   @echo "-----------------------------------------------"

sed apparently doesn't like the "-" not at the beginning or end of a range.
For some strange reason however, the same statement a few lines above
doesn't complain (?)

Regards,
-- Robbert

_______________________________________________
Ntop-dev mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

_______________________________________________
Ntop-dev mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

Reply via email to