|
From: | Peter O'Gorman |
Subject: | Re: compile mode, XSI shell: do not fork for $xform |
Date: | Wed, 09 Apr 2008 19:13:02 -0500 |
User-agent: | Thunderbird 2.0.0.9 (X11/20071115) |
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 "s/\.[^.]*/.lo/" > ada.lo.ada A $ helps: echo ada.ada.ada | sed -e "s/\.[^.]*$/.lo/" ada.ada.lo It's ok with this changed. Peter -- Peter O'Gorman http://pogma.com
[Prev in Thread] | Current Thread | [Next in Thread] |