Jeffrey writes: > Specifically, the following works > $Conf{DumpPreShareCmd} = 'mycommand $share $share/myfile'; > And indeed $share is substituted properly. > but the following does not... > $Conf{DumpPreShareCmd} = 'mycommand $share ${share}/myfile'; > And instead it passes ${share} for the final argument. > I would have thought that the braces would be treated properly whether > in a perl or bash script.
The variable substitution is done via regular expressions, not by perl eval(). The perl brace syntax isn't supported, although you could add it pretty easily. Craig ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/