Section One BBS

Welcome, Guest.


Subject: Adding a CR ? Date: Thu Feb 02 2017 01:13 pm
From: Janis Kracht To: Jeff Smith

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)

Previous Message       Next Message
In Reply To: Adding a CR ? (Jeff Smith)
Replies: Adding a CR ? (Jeff Smith)