midichannels.pl: support indented commands

This commit is contained in:
Rudolf Polzer 2018-03-21 17:45:31 -07:00
parent 8bd4153e3a
commit 7fef51eb80

View File

@ -60,7 +60,7 @@ for(@others)
while(<STDIN>)
{
chomp;
my @arg = split /\s+/, $_;
my @arg = grep { $_ ne '' } split /\s+/, $_;
my $cmd = shift @arg;
print "Executing: $cmd @arg\n";
if($cmd eq '#')