Hi I have a config file with
LogFile="/some/directory/access.log" Which I want to change to LogFile="/other/place/access.log" The following works at the command line on the server sed -i 's/\(^LogFile=\)\(..*$\)/LogFile=\"\/other\/place\/access.log\"/' /tmp/awstats.model.conf How do I escape this so that I can use sudo() function in a fabfile? Once I get that working I want to use %(envvar)s to change the path. Any tips on the escaping of this command? Thanks Rudiger _______________________________________________ Fab-user mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/fab-user
