$got =~ s/\r//g;
$got =~ s/^( )*//g;
chomp $got;
- $got=trim($got);
+ $got=trim($got);
if( $got ne ""){
if (!($enable_coverage and $got=~ /^profiling:/)){
push @got, "$got";
}
# Push delayed commands on empty lines
- unless ($line =~ m/^(.)\s*(.*)$/) {
+ unless ($line =~ m/^(.).(.*)$/) {
if (defined($cmd{'cmd'})) {
exec_cmd(\%cmd);
%cmd = ();