Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: transform sed portability
- X-seq: zsh-workers 8931
- From: Clint Adams <schizo@xxxxxxxxxx>
- To: Ollivier Robert <roberto@xxxxxxxxxxxxxxxxx>
- Subject: PATCH: transform sed portability
- Date: Tue, 7 Dec 1999 09:46:16 -0500
- Cc: zsh-workers@xxxxxxxxxxxxxx
- In-reply-to: <19991206213729.A35904@xxxxxxxxxxxxxxxxx>; from roberto@xxxxxxxxxxxxxxxxx on Mon, Dec 06, 1999 at 09:37:29PM +0100
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <19991206213729.A35904@xxxxxxxxxxxxxxxxx>
> 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