mdisk: Delete unnecessary use of `strip_diskname` and use it elsewhere
[sunny256-utils.git] / split_md5
blobd2ee85ce0ef3189865168e322ef987dbe529cbb9
1 #!/usr/bin/env perl
3 # split_md5
4 # File ID: c6346df6-5d44-11df-9981-90e6ba3022ac
5 # Setter inn punktumer i MD5'er, gjør det mer leselig.
7 use strict;
8 use warnings;
10 my $L = "0123456789abcdef";
12 while (<>) {
13 s/\b([$L]{4})([$L]{4})([$L]{4})([$L]{4})([$L]{4})([$L]{4})([$L]{4})([$L]{4})\b/$1.$2.$3.$4.$5.$6.$7.$8/g;
14 print;