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

PATCH: transform sed portability



> I'm using the latest version from anoncvs from Tanaka-san and tumbled on the
> following problem during the build. Do we need a special version of sed now
> (GNU sed ?) ?

This should work with both FreeBSD and GNU seds.

Index: Doc/Makefile.in
===================================================================
RCS file: /cvs/zsh/zsh/Doc/Makefile.in,v
retrieving revision 1.1.1.35
diff -u -r1.1.1.35 Makefile.in
--- Doc/Makefile.in	1999/12/06 17:00:20	1.1.1.35
+++ Doc/Makefile.in	1999/12/07 14:44:12
@@ -81,7 +81,7 @@
 zsh.texi: $(sdir)/zsh.texi.in
 	@test -f $< -a -s $<
 	tzsh=`echo zsh | sed '$(transform); s/,/\\\\,/g'`; \
-	sed "/@setfilename/{; s/@setfilename //; s,zsh,$$tzsh, ; s/^/@setfilename /;}" < $< > zsh.texi
+	sed "/@setfilename/{s/@setfilename //; s,zsh,$$tzsh, ; s/^/@setfilename /;}" < $< > zsh.texi
 
 .yo.1:
 	case $@ in \



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