aboutsummaryrefslogtreecommitdiff
path: root/pastebin
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2018-12-29 17:20:41 -0200
committerEuAndreh <eu@euandre.org>2018-12-29 17:21:00 -0200
commit493a2f862e1e9d8d8d7e71cd6692055926661417 (patch)
tree0325e0459cceac72000f97ff50987b8925f3e9f0 /pastebin
parentFix forwarding of arguments to sub-scripts. (diff)
downloadeuandre.org-493a2f862e1e9d8d8d7e71cd6692055926661417.tar.gz
euandre.org-493a2f862e1e9d8d8d7e71cd6692055926661417.tar.xz
Add website-slides as Perl subcommand.
Diffstat (limited to 'pastebin')
-rwxr-xr-xpastebin/website-pastebin8
1 files changed, 4 insertions, 4 deletions
diff --git a/pastebin/website-pastebin b/pastebin/website-pastebin
index 6dacdfe..8512490 100755
--- a/pastebin/website-pastebin
+++ b/pastebin/website-pastebin
@@ -1,5 +1,5 @@
#!/usr/bin/env nix-shell
-#!nix-shell -i perl -p gettext less perl --pure -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-18.09.tar.gz
+#!nix-shell -i perl -p less perl --pure -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-18.09.tar.gz
=head1 NAME
@@ -29,7 +29,7 @@ The title of the pastebin. This string will be slugified and the output is used
=head1 DESCRIPTION
-B<website pastebin> creates pastebin org-mode text files, that are later processed to produce HTML to be deployed statically.
+B<website pastebin> creates a pastebin org-mode text files, that are later processed to produce HTML to be deployed statically.
=cut
@@ -37,8 +37,8 @@ use strict;
use warnings;
use Getopt::Long qw(:config no_ignore_case bundling);
use Pod::Usage qw(pod2usage);
-use Unicode::Normalize;
-use File::Basename;
+use Unicode::Normalize qw(NFKD);
+use File::Basename qw(dirname);
my $help = 0;
my $title = '';