gnumed-devel
[Top][All Lists]
Advanced

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

Re: [Gnumed-devel] find client/ -exec sed -i "s/wx\([^.]\)/wx.\1/g" \{}


From: Ian Haywood
Subject: Re: [Gnumed-devel] find client/ -exec sed -i "s/wx\([^.]\)/wx.\1/g" \{} \;
Date: Wed, 28 Sep 2005 09:22:28 +1000
User-agent: Mozilla Thunderbird 1.0.6 (X11/20050912)


Karsten Hilbert wrote:
> I have used a modified version of this to replace all wx.wx* to wx.*.
> 
> We would need a script which replaces all "wx*" that are not
> "wx.*" with "wx.*" -
mine alreasy does that with [^.]
> except in comment lines (\s|\t+#).
Why? if it says wx.Panel in the code, why not in the comment?
Sure wx.GTK and wx.Windows look stupid, it's easy to wind those back with a few 
more sed commands, as I have done.

>>wx.Foo simply *doesn't work* when "from wxPython import wx" is used,
> 
> Correct (it does in my installation but then "if not
> os.environ['user'] == 'ncq'  :-) 
no idea how, but I suppose it's not my problem anymore.

Ian

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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