summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Bratch <luke@bratch.co.uk>2015-08-10 10:03:34 +0100
committerLuke Bratch <luke@bratch.co.uk>2015-08-10 10:03:34 +0100
commitba7417df7cdd5f291d8cc359c9c5450ffadff905 (patch)
tree2de169bb569b194d0159778423b2e4360006c0ed
parent1ff7c6514b67ce23b6d7e02f19bd2b77cb361def (diff)
Output line break at end of line
-rwxr-xr-xunixtime.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/unixtime.pl b/unixtime.pl
index f371b0c..08a987a 100755
--- a/unixtime.pl
+++ b/unixtime.pl
@@ -1,4 +1,4 @@
#!/usr/bin/perl
use POSIX qw( strftime );
-print strftime('%a %b %e %H:%M:%S %Z %Y', localtime( $ARGV[0] ) );
+print strftime('%a %b %e %H:%M:%S %Z %Y', localtime( $ARGV[0] ) ) . "\n";