What happens if you substitute a perl edit for the sed edit?

On Tue, Apr 14, 2015 at 11:06 PM, Tomoaki Okayama
<okay...@users.sourceforge.net> wrote:
> /usr/bin/sed on both 10.9 and 10.10.
>
> $ which sed
> /usr/bin/sed
>
> If I enter the command
>
> xz -dc ptexlive/archive/xdvik-20090903-texlive2009.diff.xz \
>     | sed -e 's|\$(common_includes)
> \$(FREETYPE2_INCLUDES)|\$(FREETYPE2_INCLUDES) \$(common_includes)|g' \
>     xdvik-20090903-texlive2009.diff
>
> manually, I get the error ``sed: RE error: illegal byte sequence''
> on both 10.9 and 10.10 with LANG=ja_JP.UTF-8.
>
> So, only the difference is the environment variable, unset or
> not unset in Fink.
>
> Tomoaki Okayama
>
> 2015-04-15 10:25 GMT+09:00 Alexander Hansen <alexanderk.han...@gmail.com>:
>>
>>
>> On Apr 14, 2015, at 18:08, Tomoaki Okayama <okay...@users.sourceforge.net>
>> wrote:
>>
>> Hmm? Why not unset only on my machine...
>> I think my machines are up to date; see attached files.
>> Still the environment variables are not unset.
>>
>> echo $LANG
>> ja_JP.UTF-8
>> xz -dc ptexlive/archive/xdvik-20090903-texlive2009.diff.xz \
>>     | sed -e 's|\$(common_includes)
>> \$(FREETYPE2_INCLUDES)|\$(FREETYPE2_INCLUDES) \$(common_includes)|g' \
>>
>> xdvik-20090903-texlive2009.diff
>>
>> sed: RE error: illegal byte sequence
>> ### execution of /tmp/fink.4SC75 failed, exit code 1
>> ### execution of /tmp/fink._3Ky1 failed, exit code 1
>>
>> Tomoaki Okayama
>>
>>
>> What sed are you using?
>>
>>
>> --
>> Alexander Hansen, Ph.D.
>> Fink User Liaison
>>

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to