Re: [BackupPC-users] BackupPC, rsync and ssh
2009-04-08 05:13:15
Hi,
Johan Ehnberg wrote on 2009-04-08 10:28:53 +0300 [Re: [BackupPC-users]
BackupPC, rsync and ssh]:
> [...]
> > 2) what's the meaning of "+" sign at the end of $argList?
> [...]
> 2) Maybe something with variables... someone else may know better.
quoting the default config file (explaining the TarClientCmd configuration
value):
# If a variable is followed by a "+" it is shell escaped. This is
# necessary for the command part of ssh or rsh, since it ends up
# getting passed through the shell.
In other words: any part of a configuration value that will be *parsed by a
shell* must be accordingly quoted to protect meta-characters like '*' or ' '
from being misinterpreted. For verbatim text, you add backslashes as you need
them. For interpolated variables, the "+" at the end (as in "$argList+") does
this for you.
Regards,
Holger
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|
|
|