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 <[email protected]>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 > [email protected] > http://lists.nongnu.org/mailman/listinfo/fab-user > >
_______________________________________________ Fab-user mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/fab-user
