diff options
author | Luke Bratch <luke@bratch.co.uk> | 2015-08-10 10:03:34 +0100 |
---|---|---|
committer | Luke Bratch <luke@bratch.co.uk> | 2015-08-10 10:03:34 +0100 |
commit | ba7417df7cdd5f291d8cc359c9c5450ffadff905 (patch) | |
tree | 2de169bb569b194d0159778423b2e4360006c0ed /unixtime.pl | |
parent | 1ff7c6514b67ce23b6d7e02f19bd2b77cb361def (diff) |
Output line break at end of line
Diffstat (limited to 'unixtime.pl')
-rwxr-xr-x | unixtime.pl | 2 |
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"; |