repo.or.cz
/
sunny256-utils.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add `rdbl-luks`, git textconv diff filter for LUKS headers
[sunny256-utils.git]
/
split_md5
blob
d2ee85ce0ef3189865168e322ef987dbe529cbb9
1
#!/usr/bin/env perl
2
3
# split_md5
4
# File ID: c6346df6-5d44-11df-9981-90e6ba3022ac
5
# Setter inn punktumer i MD5'er, gjør det mer leselig.
6
7
use
strict
;
8
use
warnings
;
9
10
my
$L
=
"0123456789abcdef"
;
11
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
;
15
}