home bbs files messages ]

Just a sample of the Echomail archive

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

 Message 1764 
 Janis Kracht to Jeff Smith 
 Adding a CR ? 
 02 Feb 17 13:13:00 
 
Hi Jeff,

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

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

> As in:

> Actual:

> Output1 Output2 Output3 Etc..

> Desired:

> Output1
> Output2
> Output3
> Etc..

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

You should be able to add \n to the output.  Show me your script, maybe I can
help some more.

Take care,
Janis

--- BBBS/Li6 v4.10 Toy-3
 * Origin: Prism bbs (1:261/38)

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

(c) 1994,  bbs@darkrealms.ca