DX_COPYRIGHT: Fix stripping of leading/trailing newlines.master
commit8908af6ad9b86a7d9defbff6a079047295aee9a7
authorNick Bowler <nbowler@draconx.ca>
Sat, 23 Nov 2024 16:29:23 +0000 (23 11:29 -0500)
committerNick Bowler <nbowler@draconx.ca>
Sat, 23 Nov 2024 16:29:23 +0000 (23 11:29 -0500)
tree6a8e728d3a7015f7cd14dbeb543185156051fb30
parentb004b201491dbb4cd3e2d7fdcff9cccd4605ef71
DX_COPYRIGHT: Fix stripping of leading/trailing newlines.

The pattern mishandled the case where the argument had zero leading or
trailing newlines.  Fix that up, and update the test case to cover it.
m4/copyright.m4
tests/macros.at