From cd165c9342a8196a041a392d9537e7b7f1a30e0c Mon Sep 17 00:00:00 2001 From: Steve Nicholson Date: Mon, 22 Apr 2019 13:23:20 -0700 Subject: [PATCH] Fix typos "uft" -> "utf" --- TODO | 2 +- W/imapsync.tdy | 2 +- W/learn/utf7_to_utf7imap | 4 ++-- imapsync | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/TODO b/TODO index 1fdfcd1..24ffbaf 100644 --- a/TODO +++ b/TODO @@ -551,7 +551,7 @@ Usage: --maxlinelength 9900 maxlinelengthcmd 'reformime -r7' DONE. Add DavMail in Similar Softwares section. http://davmail.sourceforge.net/ -DONE. Convert folder names to utf-8 and print them next to the uft-7 ones. +DONE. Convert folder names to utf-8 and print them next to the utf-7 ones. Look at imapsync/W/learn/ ./imap_utf7 data_utf7 diff --git a/W/imapsync.tdy b/W/imapsync.tdy index 0efdfcf..a5ef3d7 100755 --- a/W/imapsync.tdy +++ b/W/imapsync.tdy @@ -1571,7 +1571,7 @@ All foldernames are presented between brackets like [X] where X is the foldernam When a foldername contains non-ASCII characters it is presented in the form [X] = [Y] where X is the imap foldername you have to use in command line options and -Y is the uft8 output just printed for convenience, to recognize it. +Y is the utf8 output just printed for convenience, to recognize it. END_LISTING diff --git a/W/learn/utf7_to_utf7imap b/W/learn/utf7_to_utf7imap index b30fb0c..7b371a0 100755 --- a/W/learn/utf7_to_utf7imap +++ b/W/learn/utf7_to_utf7imap @@ -6,12 +6,12 @@ use strict ; use warnings ; foreach my $str_utf7 ( @ARGV ) { - my $str_utf7imap = utf7_to_uft7imap( $str_utf7 ) ; + my $str_utf7imap = utf7_to_utf7imap( $str_utf7 ) ; print qq{mv '$str_utf7' '$str_utf7imap'\n} ; } # http://cpansearch.perl.org/src/FABPOT/Unicode-IMAPUtf7-2.01/lib/Unicode/IMAPUtf7.pm -sub utf7_to_uft7imap { +sub utf7_to_utf7imap { my ( $s ) = @_ ; $s =~ s/\+([^\/&\-]*)\/([^\/\-&]*)\-/\+$1,$2\-/g ; diff --git a/imapsync b/imapsync index 965acf5..f94bb93 100755 --- a/imapsync +++ b/imapsync @@ -1666,7 +1666,7 @@ All foldernames are presented between brackets like [X] where X is the foldernam When a foldername contains non-ASCII characters it is presented in the form [X] = [Y] where X is the imap foldername you have to use in command line options and -Y is the uft8 output just printed for convenience, to recognize it. +Y is the utf8 output just printed for convenience, to recognize it. END_LISTING