* Peter O'Gorman wrote on Thu, Apr 10, 2008 at 02:13:02AM CEST:
$ echo ada.ada.ada | sed -e s/\.[^.]*/.lo/
ada.lo.ada
A $ helps:
It's ok with this changed.
Applied like this.
Cheers,
Ralf
2008-04-10 Ralf Wildenhues [EMAIL PROTECTED]
* libltdl/m4/libtool.m4
OK to apply?
Thanks,
Ralf
2008-04-10 Ralf Wildenhues [EMAIL PROTECTED]
* libltdl/m4/libtool.m4 (_LT_PROG_XSI_SHELLFNS) func_xform:
New function.
* libltdl/config/ltmain.m4sh (func_mode_compile): Use it to
avoid two forks with XSI shells.
Index:
Ralf Wildenhues wrote:
OK to apply?
+# func_xform libobj-or-source
+func_xform ()
+{
+ func_xform_result=`$ECHO X${1} | $Xsed -e s/\.[[^.]]*/.lo/`
+}
_LT_EOF
esac
Did you test this sed expression? Maybe I am testing it wrong?
$ echo ada.ada.ada | sed -e s/\.[^.]*/.lo/
ada.lo.ada
Peter O'Gorman wrote:
Ralf Wildenhues wrote:
OK to apply?
+# func_xform libobj-or-source
+func_xform ()
+{
+ func_xform_result=`$ECHO X${1} | $Xsed -e s/\.[[^.]]*/.lo/`
+}
_LT_EOF
esac
Did you test this sed expression? Maybe I am testing it wrong?
$ echo ada.ada.ada | sed -e