aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2020-11-11 17:21:19 +0100
committerJohn Ankarström <john@ankarstrom.se>2020-11-11 17:21:19 +0100
commit19afddd6a2d3bdcb537868418a8976dd2aee4e93 (patch)
treef943514b5e31777473a3d916979e8fb6c952f103
parentf98b3093edfc1aeb5e69ae874e322b9b5c37821a (diff)
downloadrf-19afddd6a2d3bdcb537868418a8976dd2aee4e93.tar.gz
remove extra line before reflist entry
-rwxr-xr-xrf1
1 files changed, 1 insertions, 0 deletions
diff --git a/rf b/rf
index e899870..7fbc887 100755
--- a/rf
+++ b/rf
@@ -123,6 +123,7 @@ for (@lines) {
# Reference definition
if (/^\.R! (\d+)/) {
+ chomp $last;
print $last;
$last = fmt($format_list, $1, 1) . "\n";
next;