Skip to content

Commit

Permalink
gjs: replace “\t” to “ ” in command line
Browse files Browse the repository at this point in the history
  • Loading branch information
gsize authored Jun 28, 2017
1 parent 8d94349 commit c308142
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cluster_tools/jobsplitter/src/GateMacfileParser.cc
Original file line number Diff line number Diff line change
Expand Up @@ -970,6 +970,13 @@ void GateMacfileParser::FormatMacline()
macline=temp;
}

//remove "\t"
while (macline.contains("\t"))
{
position = macline.find("\t");
macline.replace(position,1," ");
}

//remove trailing spaces
size=macline.length();
subString=macline(size-1);
Expand Down

0 comments on commit c308142

Please sign in to comment.