diff options
Diffstat (limited to 'alpine-to-carddav')
-rwxr-xr-x | alpine-to-carddav | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alpine-to-carddav b/alpine-to-carddav index 5d2938f..0948616 100755 --- a/alpine-to-carddav +++ b/alpine-to-carddav @@ -38,7 +38,7 @@ print_cnt() { read_line() { local line - read -r line + IFS='' read -r line for key in "${alpine_keys[@]}"; do eval "${1}${key}"'="${line%%'"$(printf '\t')"'*}"' eval 'line="${line#${'"${1}${key}"'}}"' @@ -56,7 +56,7 @@ git -C "${git_dir}" diff -U0 -- addressbook \ 1,/^+++/d $ s#$#\n@@ # ' \ -| while read line; do +| while IFS='' read -r line; do case "${line}" in '@@ '*) for last_uid in "${last_uids[@]}"; do |