Index: trunk/BNC/bncapp.cpp
===================================================================
--- trunk/BNC/bncapp.cpp	(revision 520)
+++ trunk/BNC/bncapp.cpp	(revision 521)
@@ -195,5 +195,5 @@
 
     if (RINEX_3) {
-      line.sprintf("G%02d %04d %02d %02d %02d %02d %02d%19.12e%19.12e%19.12e\n",
+      line.sprintf("G%02d %04d %02d %02d %02d %02d %02d%19.12e%19.12e%19.12e",
                    ep->satellite, datTim.date().year(), 
                    datTim.date().month(), datTim.date().day(), 
@@ -203,5 +203,5 @@
     }
     else {
-      line.sprintf("%02d %02d %02d %02d %02d %02d%05.1f%19.12e%19.12e%19.12e\n",
+      line.sprintf("%02d %02d %02d %02d %02d %02d%05.1f%19.12e%19.12e%19.12e",
                    ep->satellite, datTim.date().year()%100, 
                    datTim.date().month(), datTim.date().day(), 
@@ -212,17 +212,17 @@
     *_ephStream << line << endl;
 
-    line.sprintf("   %19.12e%19.12e%19.12e%19.12e\n", (double)ep->IODE,
+    line.sprintf("   %19.12e%19.12e%19.12e%19.12e", (double)ep->IODE,
                  ep->Crs, ep->Delta_n, ep->M0);
     *_ephStream << line << endl;
     
-    line.sprintf("   %19.12e%19.12e%19.12e%19.12e\n", ep->Cuc,
+    line.sprintf("   %19.12e%19.12e%19.12e%19.12e", ep->Cuc,
                  ep->e, ep->Cus, ep->sqrt_A);
     *_ephStream << line << endl;
 
-    line.sprintf("   %19.12e%19.12e%19.12e%19.12e\n",
+    line.sprintf("   %19.12e%19.12e%19.12e%19.12e",
                  (double) ep->TOE, ep->Cic, ep->OMEGA0, ep->Cis);
     *_ephStream << line << endl;
     
-    line.sprintf("   %19.12e%19.12e%19.12e%19.12e\n", ep->i0,
+    line.sprintf("   %19.12e%19.12e%19.12e%19.12e", ep->i0,
                  ep->Crc, ep->omega, ep->OMEGADOT);
     *_ephStream << line << endl;
@@ -234,5 +234,5 @@
     if(ii & GPSEPHF_L2PCODE)
       dd += 1.0;
-    line.sprintf("   %19.12e%19.12e%19.12e%19.12e\n", ep->IDOT, dd,
+    line.sprintf("   %19.12e%19.12e%19.12e%19.12e", ep->IDOT, dd,
                  (double) ep->GPSweek, ii & GPSEPHF_L2PCODEDATA ? 1.0 : 0.0);
     *_ephStream << line << endl;
@@ -244,9 +244,9 @@
     /* 15 indicates not to use satellite. We can't handle this special
        case, so we create a high "non"-accuracy value. */
-    line.sprintf("   %19.12e%19.12e%19.12e%19.12e\n", dd,
+    line.sprintf("   %19.12e%19.12e%19.12e%19.12e", dd,
                  ((double) ep->SVhealth), ep->TGD, ((double) ep->IODC));
     *_ephStream << line << endl;
 
-    line.sprintf("   %19.12e%19.12e\n", ((double)ep->TOW), 0.0);
+    line.sprintf("   %19.12e%19.12e", ((double)ep->TOW), 0.0);
     *_ephStream << line << endl;
 
