help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: building octave 2.9.5 on Tiger


From: John W. Eaton
Subject: Re: building octave 2.9.5 on Tiger
Date: Sun, 25 Jun 2006 11:06:30 -0400

On 25-Jun-2006, John W. Eaton wrote:

| I think I'd rather just rewrite the patterns in this case.

Does the following change work on your system?  If so, I'll check in
this change.

Thanks,

jwe


src/ChangeLog:

2006-06-25  John W. Eaton  <address@hidden>

        * mk-pkg-add: Avoid apparently non-portable sed patterns.


Index: src/mk-pkg-add
===================================================================
RCS file: /cvs/octave/src/mk-pkg-add,v
retrieving revision 1.4
diff -u -u -r1.4 mk-pkg-add
--- src/mk-pkg-add      9 May 2006 02:04:55 -0000       1.4
+++ src/mk-pkg-add      25 Jun 2006 15:03:14 -0000
@@ -8,7 +8,8 @@
     ## Compute and print the autoloads.
   
     base=`basename $f | $SED 's/\.df$//'`
-    fcns=`$SED -n -e 's/XDEFUN\(X\|\)_DLD_INTERNAL *( *\("\|\)\([^", ]*\)[", 
].*$/\3/p' $f | \
+    fcns=`$SED -n -e 's/^ *XDEFUN_DLD_INTERNAL ( *\([^, ]*\)[, ].*$/\1/p' \
+                  -e 's/^ *XDEFUNX_DLD_INTERNAL *( *"\([^"]*\)".*$/\1/p' $f | \
          sort -u`
     if [ -n "$fcns" ]; then
       for n in $fcns; do


reply via email to

[Prev in Thread] Current Thread [Next in Thread]