[groff] A poor mans Excel

2019-10-10 Thread Ulrich Lauther
Hi all, I have written a small perlscript, that preprocesses tables and allows to - add the values in selected collums - to replace a table entry by the result of an expression Lines between .( and .) are processed. The ".(" line may contain the numbers of collums in which add

Re: [groff] A poor mans Excel

2019-10-10 Thread John Gardner
That reminds me of an idea for a preprocessor I had called xtbl, which could convert between common plain-text table formats... tbl(1), TSV, rST / Markdown, and HTML. > Code size: 130 lines of perl Show us the code and I'll see how far I can golf it down for you. :D On Thu, 10 Oct 2019 at 22:21

Re: [groff] A poor mans Excel

2019-10-10 Thread Mike Bianchi
> If there is interest, I'll post the script and an example. Yes please. Mike On Thu, Oct 10, 2019 at 01:21:31PM +0200, Ulrich Lauther wrote: > Hi all, > > I have written a small perlscript, that preprocesses tables > and al

Re: [groff] A poor mans Excel

2019-10-10 Thread Ralph Corderoy
Hi Ulrich, > I have written a small perlscript, that preprocesses tables and allows > to > > - add the values in selected collums > - to replace a table entry by the result of an expression Thanks for letting us know. As Mike said, please show us the code; the list's archive will hopefu

Re: [groff] A poor mans Excel

2019-10-10 Thread Pierre-Jean Fichet
Hello Troff users, Ralph Corderoy wrote: > > I have written a small perlscript, that preprocesses tables and allows > > to > > > > - add the values in selected collums > > - to replace a table entry by the result of an expression > > Thanks for letting us know. As Mike said, please sho

Re: [groff] A poor mans Excel

2019-10-10 Thread Ulrich Lauther
On Thu, Oct 10, 2019 at 03:45:54PM +0100, Ralph Corderoy wrote: > Hi Ulrich, > > > I have written a small perlscript, that preprocesses tables and allows > > to > > > > - add the values in selected collums > > - to replace a table entry by the result of an expression > > Thanks for letti

Re: [groff] A poor mans Excel

2019-10-10 Thread Jean Louis
I am welcoming licensing under GPL and recommend version 3 and any later On October 10, 2019 7:19:06 PM UTC, Ulrich Lauther wrote: >On Thu, Oct 10, 2019 at 03:45:54PM +0100, Ralph Corderoy wrote: >> Hi Ulrich, >> >> > I have written a small perlscript, that preprocesses tables and >allows >> >

Re: [groff] A poor mans Excel

2019-10-10 Thread Ulrich Lauther
On Thu, Oct 10, 2019 at 08:55:02AM -0400, Mike Bianchi wrote: > > If there is interest, I'll post the script and an example. > > Yes please. > Mike > Please find attached addtbl.pl (the code) addtbl.exp