diff options
author | Erich Eckner <git@eckner.net> | 2021-11-13 13:32:40 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2021-11-13 13:32:40 +0100 |
commit | b431b1d1ae221459f51c7e11049fe64e6012d13a (patch) | |
tree | 7185a13aa323b2dca1304f721202508c424181e1 | |
parent | fb1f29242c2fdcc4d3e3d9c96e2a54a7424cf271 (diff) | |
download | carddav-alpine-converter-b431b1d1ae221459f51c7e11049fe64e6012d13a.tar.xz |
alpine-to-carddav: make line variable local
-rwxr-xr-x | alpine-to-carddav | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/alpine-to-carddav b/alpine-to-carddav index a0fe779..c9338fb 100755 --- a/alpine-to-carddav +++ b/alpine-to-carddav @@ -37,6 +37,7 @@ print_cnt() { } read_line() { + local line read -r line for key in "${alpine_keys[@]}"; do eval "${1}${key}"'="${line%%'"$(printf '\t')"'*}"' |