diff --git a/xCAT-test/xcattest b/xCAT-test/xcattest index 9e40a7244..e9b74f393 100755 --- a/xCAT-test/xcattest +++ b/xCAT-test/xcattest @@ -576,7 +576,9 @@ sub trim { my $str = shift @_; if($str){ + $str =~ s/\#/__wellnumber__/g; $str =~ s/^\s+|#.+|\s+$//g; + $str =~ s/__wellnumber__/#/g; } return $str; }