[lltx] euenc: sed -E

Khaled Hosny khaledhosny at eglug.org
Sat Jan 30 06:45:07 CET 2010


On Sat, Jan 30, 2010 at 03:25:27PM +1030, Will Robertson wrote:
> Hi Khaled and Elie,
> 
> The scripts are broken on my machine because anything with [...]+ has been turned into [...]\+, which doesn't seem to work in my version of sed (Mac OS X 10.6). I've changed it into [...]\{1,\} which is ugly but at least works.
> 
> I can't remember if I used + instead of * because of a reason in particular or just because I thought it was a safer choice at the time.
> 
> Damned regexp.

The old (pre Elie) code were working fine for GNU sed on my system, I
don't know what version of sed Elie have. If it were me, I'd just
standarise on GNU sed; it is can be installed on almost all platforms
and this is a one time script, not something end user is supposed to
run anyway.

Regards,
 Khaled

-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer



More information about the lualatex-dev mailing list