[Lazarus] Using the "build_html.sh" script on Mac OS X doesn't work [solution inside]

John Stoneham captnjameskirk at gmail.com
Wed Oct 15 20:13:27 CEST 2008


On Wed, Oct 15, 2008 at 10:10 AM, Henry Vermaak <henry.vermaak at gmail.com>wrote:

> yes, maybe it's getting confused by the multiple -e.  have you tried
> sed 's/\(\.pp\|\.pas\)\b//g'?  that sed should probably only run once,
> too (on the output of the ls).
>

Yeah, I figured it was the sed command that was the problem. The thing is,
there is no need to use sed there anyway, since bash string processing
handles removing those two extensions in a much simpler manner, as my "fix"
shows.


-- 
_| ( ) |-| |\|
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20081015/fa09b6a2/attachment-0007.html>


More information about the Lazarus mailing list