]> git.draconx.ca Git - dxcommon.git/commit
Add "join" detection macro.
authorNick Bowler <nbowler@draconx.ca>
Sun, 30 Jan 2022 01:48:17 +0000 (20:48 -0500)
committerNick Bowler <nbowler@draconx.ca>
Sun, 30 Jan 2022 03:46:17 +0000 (22:46 -0500)
commit5865ffc2d8b828aa78235fbdcf9dfe18a8799980
tree0d8fb51bdbba02971688ebf5701a3d14263ef4f2
parent6532aaac91a7efd99eb74726679c4000459e7bb3
Add "join" detection macro.

It seems that unconditional use of "join" is not portable.  Alpine
Linux, for example, does not include it.  Add a macro which detects
whether join exists and works, with a fallback to an (incomplete)
awk implementation of the tool.
m4/join.m4 [new file with mode: 0644]
m4/linguas.m4
scripts/join.awk [new file with mode: 0755]
tests/macros.at
tests/programs.at