summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-10-10 01:50:02 +0200
committerhut <hut@lavabit.com>2010-10-10 01:50:02 +0200
commitab3ecc707fa9f4243a02809c7de7a781dbf06b5a (patch)
treee647fda5d0497cd9c8492d6c554f49d32ff7f1cb
parent796ca7d3b8fc22992d509ede49b12e60a100e54b (diff)
downloadranger-ab3ecc707fa9f4243a02809c7de7a781dbf06b5a.tar.gz
data/scope: fixed pdftotext invocation
-rwxr-xr-xranger/data/scope.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/data/scope.sh b/ranger/data/scope.sh
index c99f715b..5a076130 100755
--- a/ranger/data/scope.sh
+++ b/ranger/data/scope.sh
@@ -37,7 +37,7 @@ case "$extension" in
 		atool -l "$path" | head -n $maxln && exit 3
 		exit 1;;
 	pdf)
-		pdftotext "$path" | head -n $maxln && exit 3
+		pdftotext -q "$path" - | head -n $maxln && exit 3
 		exit 1;;
 	# HTML Pages:
 	htm|html|xhtml)