Browse Source

bin/pinboard: use say instead of print for some nice newlines

main
Brennen Bearnes 3 months ago
parent
commit
0a39bf9310
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      home/bin/pinboard

+ 2
- 2
home/bin/pinboard View File

@ -60,10 +60,10 @@ if (defined $ARGV[0] && $ARGV[0] eq 'tags') {
} elsif (defined $ARGV[0] && $ARGV[0] eq 'by-tag') {
croak "Must supply a tag name"
unless defined $ARGV[1];
print format_posts(by_tag($ARGV[1]));
say format_posts(by_tag($ARGV[1]));
} else {
my $today = localtime;
print format_posts(recent($today));
say format_posts(recent($today));
}
sub tags {


Loading…
Cancel
Save