On Mon, Nov 19, 2007 at 09:01:48PM -0500, Jack Howarth wrote:
>   I am stumped over something fink is doing to my
> sed commands. I need to be able to execute...
> 
> sed -i -e "s|tjmp %%edx|tjmp *%%edx|g" i386.c;
> 
> inside of a sh shell patch script. However fink
> seems to insist on changing the *%% to *%. This
> is what an echo of ""tjmp *%%edx" shows when
> executed in the shell script. How to I keep
> fink's mitts off of this string?

"%" is the percent-expansion token in .info files. "%%" means the
percent character itself (just like \\ means an actual \ character
instead of some metacharacter in other languages). It's all explained
in the percent-expansions section of the Packaging Manual.

dan

-- 
Daniel Macks
[EMAIL PROTECTED]
http://www.netspace.org/~dmacks


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel

Reply via email to