logo

utils

~/.local/bin tools and git-hooks git clone https://hacktivis.me/git/utils.git
commit: 24b24a8dc5b4a18ff05e02ca083dcf4094a86769
parent 8ea70d790c9f56c2eb579a7aeab35fd6cd9f752b
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Fri, 25 Jun 2021 14:07:10 +0200

bin/zalgo: Support multiline input

Diffstat:

Mbin/zalgo6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/bin/zalgo b/bin/zalgo @@ -25,7 +25,11 @@ while(my $line = <$fh>) { close $fh; -my @input = split "", <stdin>; +my @input; +{ + undef $/; + @input = split "", <STDIN>; +} foreach(@input) { print $_;