summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
Diffstat (limited to 'functions')
-rw-r--r--functions/pdfpextr.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/pdfpextr.fish b/functions/pdfpextr.fish
index 8e4116f..a550bb3 100644
--- a/functions/pdfpextr.fish
+++ b/functions/pdfpextr.fish
@@ -4,7 +4,7 @@ function pdfpextr -a pStart pEnd filename
# $2 is the last page of the range to extract
# $3 is the input file
# output file will be named "inputfile_pXX-pYY.pdf"
- set -x fileOut (string split -r -m1 . $filename)[1]_p{$pStart}-p{$pEnd}.pdf
+ set -l fileOut (string split -r -m1 . $filename)[1]_p{$pStart}-p{$pEnd}.pdf
printf $fileOut
gs -sDEVICE=pdfwrite -dNOPAUSE -dBATCH -dSAFER \