From: Nicolas Boisselier Date: Thu, 20 Apr 2023 00:42:14 +0000 (+0200) Subject: option sep if now a regexp X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=6a76d5228c2981ddec8477fa891d5b55bb6091c5;p=nb.git option sep if now a regexp --- diff --git a/bin/csv2human b/bin/csv2human index eda3028c..93312e9e 100755 --- a/bin/csv2human +++ b/bin/csv2human @@ -47,7 +47,7 @@ my @lines = (); while (<>) { - my @F = split($Opt{sep}); + my @F = split(/$Opt{sep}/); for (my $i=0;$i<@F;$i++) { chomp($F[$i]);