isync

mailbox synchronization program
git clone https://git.code.sf.net/p/isync/isync
Log | Files | Refs | README | LICENSE

commit c0ba6f03950ca505064a72825d1c4d4d1fb76586
parent 4842f5148da89e7627f1b0c38f920d0fce992e76
Author: Oswald Buddenhagen <ossi@users.sf.net>
Date:   Sun, 22 Mar 2015 11:44:33 +0100

escape backslashes in PassCmd examples

the config parser strips one level of backslash escapes.

Diffstat:
Msrc/mbsyncrc.sample | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mbsyncrc.sample b/src/mbsyncrc.sample @@ -16,11 +16,11 @@ Pass xxxxxxxx # Fetch password from gnome-keyring: #PassCmd "gnome-keyring-query get mail_pw" # Fetch password from .netrc: -#PassCmd "sed -n -e 's,^machine work\.host\.com login tehuser password \(.*\),\1,p' < $HOME/.netrc" +#PassCmd "sed -n -e 's,^machine work\\.host\\.com login tehuser password \\(.*\\),\\1,p' < $HOME/.netrc" # Fetch password from a gpg-encrypted file: #PassCmd "gpg --quiet --for-your-eyes-only --decrypt $HOME/imappassword.gpg" # Fetch password from pwmd (http://pwmd.sourceforge.net/): -#PassCmd "echo -ne 'GET myIsp\tpassword' | pwmc datafile" +#PassCmd "echo -ne 'GET myIsp\\tpassword' | pwmc datafile" # On Mac OS X, run "KeyChain Access" -- File->New Password Item. Fill out form using # "Keychain Item Name" http://IMAPSERVER (note: the "http://" is a hack) # "Account Name" USERNAME