<div dir="ltr">every a few minutes a script gets the Master.csv and makes it a nice table for an html page. i would like to have it pre defined in the Master.csv the headers/titles of each column. that's what i was looking for. anyway your way looks nice. i will import it to my script prior to export to the html.<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 26, 2018 at 5:00 PM, Ken D'Ambrosio <span dir="ltr"><<a href="mailto:ken@jots.org" target="_blank">ken@jots.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 2018-04-26 09:49, John Tuxies wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi. i am looking for a way to have headers for each section of the<br>
Master.csv<br>
eg call duration, hangup cause, destination,...<br>
is there a way to add it and be there permanently, even after log<br>
roratation due to size or date, please?<br>
</blockquote>
<br></div></div>
That's easy: no. ;-) But, less-snarkily, that's the kind of thing that scripting is made for. Clearly, you're looking to import it into spreadsheet. In your shoes, I'd set up a file with *just* the headers, and then when you wanted a CSV for import, do something like this:<br>
<br>
cat heaerfile.txt master.csv > file_to_import.csv<br>
<br>
And lo! Done.<span class="HOEnZb"><font color="#888888"><br>
<br>
-Ken<br>
<br>
-- <br>
______________________________<wbr>______________________________<wbr>_________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
Check out the new Asterisk community forum at: <a href="https://community.asterisk.org/" rel="noreferrer" target="_blank">https://community.asterisk.org<wbr>/</a><br>
<br>
New to Asterisk? Start here:<br>
<a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" rel="noreferrer" target="_blank">https://wiki.asterisk.org/wik<wbr>i/display/AST/Getting+Started</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer" target="_blank">http://lists.digium.com/mailma<wbr>n/listinfo/asterisk-users</a><br>
</font></span></blockquote></div><br></div>