[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
sed problem with CVS on Solaris 9/SPARC
From: |
Albert Chin |
Subject: |
sed problem with CVS on Solaris 9/SPARC |
Date: |
Tue, 2 Nov 2004 18:47:43 -0600 |
User-agent: |
Mutt/1.5.6i |
Solaris 9/SPARC sed does not like the '?' in REs. So, how about '*'
instead? I think it's safe considering how we're using it.
--
albert chin (address@hidden)
-- snip snip
* src/Makefile.am: ',\?' not portable sed expression on
Solaris 9/SPARC. Use ',*' instead.
Index: src/Makefile.am
===================================================================
RCS file: /cvsroot/coreutils/coreutils/src/Makefile.am,v
retrieving revision 1.44
diff -u -3 -p -r1.44 Makefile.am
--- src/Makefile.am 22 Sep 2004 20:06:44 -0000 1.44
+++ src/Makefile.am 2 Nov 2004 23:42:14 -0000
@@ -259,7 +259,7 @@ check-AUTHORS: $(all_programs)
./printf "$$i: "; \
./$$exe --version \
|sed -n '/Written by /s///p' \
- |sed 's/,\? and /, /;s/\.$$//'; \
+ |sed 's/,* and /, /;s/\.$$//'; \
done | $(ASSORT) > $(au_actual)
sed -n '/:/p' $(top_srcdir)/AUTHORS > $(au_dotdot)
diff $(au_actual) $(au_dotdot) && rm -f $(au_actual) $(au_dotdot)
- sed problem with CVS on Solaris 9/SPARC,
Albert Chin <=