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

Henry Vermaak henry.vermaak at gmail.com
Wed Oct 15 22:25:16 CEST 2008


On 15/10/2008, John Stoneham <captnjameskirk at gmail.com> wrote:
> 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.

yes, i know about that way, since i use bash, but i thought it was
bash specific?  have you tested with other shells?  you can also use
"basename" to remove suffixes.

henry



More information about the Lazarus mailing list