aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2020-11-11 16:34:28 +0100
committerJohn Ankarström <john@ankarstrom.se>2020-11-11 16:34:28 +0100
commitf98b3093edfc1aeb5e69ae874e322b9b5c37821a (patch)
tree70976fc67efd18e16072c69087838a3581059a59
parentcd225683d4414006c9422ff23076d88638af1794 (diff)
downloadrf-f98b3093edfc1aeb5e69ae874e322b9b5c37821a.tar.gz
fix bug where last line was not printed
-rwxr-xr-xrf1
1 files changed, 1 insertions, 0 deletions
diff --git a/rf b/rf
index 535affb..e899870 100755
--- a/rf
+++ b/rf
@@ -132,6 +132,7 @@ for (@lines) {
print $last;
$last = $_;
}
+print $last;
# Format a given reference after $fmt
sub fmt {