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
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
> 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
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
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
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
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
>> >
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