[rancid] Configuration Modification with RANCID

heasley heas at shrubbery.net
Thu Oct 13 16:45:37 UTC 2016

Thu, Oct 13, 2016 at 03:04:00PM +0100, Alex DEKKER:
> No doubt, bash is expanding the $string to nothing. You either need to 
> escape the $ or put some more/different quotes around it.

you must also escape it for tcl.  eg:

% clogin ... '\$foo.blahblah' ... hostname


% cat > foo <<EOF
config t
enable \$foo.blah
% clogin -x foo hostname

More information about the Rancid-discuss mailing list