oh you're right ! i've made a mistake using platform module, i correct this and post another patch soon.

sed on FreeBSD and Darwin support inline editing via -i but not on NetBSD and OpenBSD

Thanks again for your remarks

Le 15/02/2011 23:47, Travis Swicegood a écrit :
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]
<mailto:[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] <mailto:[email protected]>
    http://lists.nongnu.org/mailman/listinfo/fab-user



_______________________________________________
Fab-user mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/fab-user

Reply via email to