-#! /usr/bin/perl\r
-\r
-# ------------------------------------------------\r
-# Copyright 2014 AT&T Intellectual Property\r
-# Licensed under the Apache License, Version 2.0 (the "License");\r
-# you may not use this file except in compliance with the License.\r
-# You may obtain a copy of the License at\r
-#\r
-# http://www.apache.org/licenses/LICENSE-2.0\r
-#\r
-# Unless required by applicable law or agreed to in writing, software\r
-# distributed under the License is distributed on an "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-# See the License for the specific language governing permissions and\r
-# limitations under the License.\r
-# -------------------------------------------\r
-\r
-$outfile_base = "tracefile_";\r
-$trace_cnt = 0;\r
-\r
-$outfile = $outfile_base . $trace_cnt . ".txt";\r
-open O,">$outfile";\r
-\r
-while($line=<>){\r
- if($line =~ /rts:\[.*\]: Started Logging/){\r
- close O;\r
- $trace_cnt ++;\r
- $outfile = $outfile_base . $trace_cnt . ".txt";\r
- open O,">$outfile";\r
- }\r
- print O $line;\r
-}\r
-close O;\r
-\r
-\r
-\r
+#! /usr/bin/perl
+
+# ------------------------------------------------
+# Copyright 2014 AT&T Intellectual Property
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# -------------------------------------------
+
+$outfile_base = "tracefile_";
+$trace_cnt = 0;
+
+$outfile = $outfile_base . $trace_cnt . ".txt";
+open O,">$outfile";
+
+while($line=<>){
+ if($line =~ /rts:\[.*\]: Started Logging/){
+ close O;
+ $trace_cnt ++;
+ $outfile = $outfile_base . $trace_cnt . ".txt";
+ open O,">$outfile";
+ }
+ print O $line;
+}
+close O;
+
+
+