texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Texmacs-dev] sed problem in 1.0.1.7


From: Joris van der Hoeven
Subject: Re: [Texmacs-dev] sed problem in 1.0.1.7
Date: Tue, 4 Mar 2003 10:44:42 +0100 (MET)

> The configure script in 1.0.1.7 has the line
> 
> GUILE_VERSION=`guile --version | grep 'Guile \([0-9]\)' | sed 's/Guile 
> \([0-9]*\)/\1/' -`
> 
> On my system (MacOSX) this gives a "sed: -: no such file or directory" 
> error. The GUILE_VERSION is then undefined and this leads to a wrong 
> switch in guile.hh with fatal undefined symbol errors later on.
> 
> Is this dash at the end correct syntax? My sed doesn't understand it, in 
> any case. When I remove it, TeXmacs-1.0.1.7 compiles OK.

I don't know; I am very bad at writing this kind of "portable" version
recognition code. Someone has a better idea? I could not find the right
option in the documentation of sed, but '-' magically worked...





reply via email to

[Prev in Thread] Current Thread [Next in Thread]