octave-maintainers
[Top][All Lists]
Advanced

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

Re: fltk-config for windows gives -mwindows flag (was octave-3.3.50 buil


From: Benjamin Lindner
Subject: Re: fltk-config for windows gives -mwindows flag (was octave-3.3.50 built by mingw-gcc-4.4.0 cannot be executed.)
Date: Sun, 11 Oct 2009 20:44:46 +0200
User-agent: Thunderbird 2.0.0.22 (Windows/20090605)

John W. Eaton wrote:
On 29-Sep-2009, Benjamin Lindner wrote:

| I'd suggest
| | sed -e "+s-mwindows++g" | | to be more robust.

Why do you say that is more robust?  If the pattern is a literal
string, then I think the only requirement is that the delimiters for
the sed command don't appaer in the pattern string.

It's not about the delimiters, it's about the removed space character.

Tatsuro originally suggested
   sed -e 's/ -mwindows//'
which sould only match if there is at least one space character preceeding the token "-mwindows", correct?

IMO the replacement rule should remove "-mwindows" regardless if it is preceeded by a space or not (e.g. even if it is the first token in a string)

benjamin



reply via email to

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