home bbs files messages ]

Just a sample of the Echomail archive

<< oldest | < older | list | newer > | newest >> ]

 Message 1765 
 Wilfred van Velzen to Jeff Smith 
 Re: Adding a CR ? 
 02 Feb 17 19:16:42 
 
Hi,

On 2017-02-02 11:27:00, Jeff Smith wrote to All:
  about: "Adding a CR ?":

 JS> This isn't really a BBBS question but...

 JS> I have a bash script that exports the output of a program to a log  file.
 JS> That part of the process works fine. But, when the program is run the next
 JS> time the output is appended to the same line in the log file. IOW's each
 JS> log entry is NOT on a separate line.

 JS> As in:

 JS> Actual:

 JS> Output1 Output2 Output3 Etc..

 JS> Desired:

 JS> Output1
 JS> Output2
 JS> Output3
 JS> Etc..

 JS> Any thoughts on being able to add a CR to the program output?

echo "" >>output_file

??

Bye, Wilfred.


--- FMail-W32 1.73.15.74-B20170201
 * Origin: Native IPv6 connectable node (2:280/464)

<< oldest | < older | list | newer > | newest >> ]

(c) 1994,  bbs@darkrealms.ca