diff options
author | Vasil Zlatanov <v@skozl.com> | 2016-11-29 20:46:34 +0000 |
---|---|---|
committer | Vasil Zlatanov <v@skozl.com> | 2016-11-29 20:46:34 +0000 |
commit | 6630bb02f23b60510f3b9a961e684a5ae1d02c11 (patch) | |
tree | d8dcbb8e4c67bb156662968cab3d30450b098478 /Editor/vim/boxdraw/bdub2a.pl | |
parent | a25443ba2e511f3279f18b93a98a4c0421896061 (diff) | |
parent | a654f3b38b6ac88771b59e53058ebcec1d393424 (diff) | |
download | dotfiles-6630bb02f23b60510f3b9a961e684a5ae1d02c11.tar.gz dotfiles-6630bb02f23b60510f3b9a961e684a5ae1d02c11.tar.bz2 dotfiles-6630bb02f23b60510f3b9a961e684a5ae1d02c11.zip |
Merge branch 'master' of github.com:vaskozl/dotfiles
Diffstat (limited to 'Editor/vim/boxdraw/bdub2a.pl')
-rw-r--r-- | Editor/vim/boxdraw/bdub2a.pl | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/Editor/vim/boxdraw/bdub2a.pl b/Editor/vim/boxdraw/bdub2a.pl deleted file mode 100644 index 4482923..0000000 --- a/Editor/vim/boxdraw/bdub2a.pl +++ /dev/null @@ -1,30 +0,0 @@ -# Convert +-| style drawings into utf characters
-# BoxDraw-unicode-box to ascii
-# 2003-11-25 12:48:17 -- created by nsg
-
-use 5.8.0;
-use strict;
-use utf8;
-# binmode (STDOUT, ":utf8"); # incompatible with perl 5.6.1
-# binmode (STDIN, ":utf8"); # incompatible with perl 5.6.1
-
-while(<STDIN>) {
- my $l=length;
- tr/┌┬┐╓╥╖╒╤╕╔╦╗├┼┤╟╫╢╞╪╡╠╬╣└┴┘╙╨╜╘╧╛╚╩╝/++++++++++++++++++++++++++++++++++++/;
- tr/═─│║/\-\-\|\|/;
- printf "%03d ",$l;
- print ;
-}
-
-# corners/splits:
-# ┌┬┐╓╥╖╒╤╕╔╦╗ 6ec
-# ├┼┤╟╫╢╞╪╡╠╬╣ 7fd
-# └┴┘╙╨╜╘╧╛╚╩╝ 3b9
-# round corners:
-# 256d 256e
-# 2570 256f
-# horizontal
-# ═ ─
-# vertical
-# │ ║
-
|