Mercurial > hg > octave-lyh
changeset 5865:4e6be3c306f1
[project @ 2006-06-25 16:59:27 by jwe]
author | jwe |
---|---|
date | Sun, 25 Jun 2006 16:59:27 +0000 |
parents | e884ab4f29ee |
children | f9ac7ebf0e19 |
files | src/ChangeLog src/mk-pkg-add |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2006-06-25 John W. Eaton <jwe@octave.org> + + * mk-pkg-add: Avoid apparently non-portable sed patterns. + 2006-06-21 John W. Eaton <jwe@octave.org> * variables.cc (do_who): Handle mex.
--- a/src/mk-pkg-add +++ b/src/mk-pkg-add @@ -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