FWIW: sed on BSD (at least a Darwin) does support inline editing via -i,
but I think the syntax is slightly different.
I'm also not familiar with platform.system() -- is it going to be aware
of the other OS? I routinely execute code on Ubuntu from my Mac.
Wouldn't this code use the BSD syntax rather than the remote system's
syntax?
-T
On Tue, Feb 15, 2011 at 3:59 PM, Morgan LEFIEUX <address@hidden
<mailto:address@hidden>> wrote:
Hello,
I've made a little modification of the 'files.py' code to handle
correctly sed versions without '-i' option like on NetBSD and OpenBSD.
thanks !
Bye
_______________________________________________
Fab-user mailing list
address@hidden <mailto:address@hidden>
http://lists.nongnu.org/mailman/listinfo/fab-user