Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: More news from the Solaris sed `go figure' dept.



Index: Doc/Makefile.in
===================================================================
RCS file: /cvsroot/zsh/zsh/Doc/Makefile.in,v
retrieving revision 1.2
diff -u -r1.2 Makefile.in
--- Doc/Makefile.in	2000/04/19 14:10:56	1.2
+++ Doc/Makefile.in	2000/06/02 17:10:01
@@ -193,7 +193,8 @@
 	( \
 	    echo "startitem()"; \
 	    for modfile in $(MODDOCSRC); do \
-		sed -n '1{s|^COMMENT(!MOD!\(.*\)$$|item(tt(\1))(|;p;d;};/^!MOD!)$$/q;p' \
+		sed -ne '1{s|^COMMENT(!MOD!\(.*\)$$|item(tt(\1))(|;p;d;}' \
+		    -e '/^!MOD!)$$/q;p' \
 		    < $(sdir)/$$modfile; \
 		echo ")"; \
 	    done; \

-- 
Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxxx>
Cambridge Silicon Radio, Unit 300, Science Park, Milton Road,
Cambridge, CB4 0XL, UK                          Tel: +44 (0)1223 392070



Messages sorted by: Reverse Date, Date, Thread, Author