diff options
| author | 2019-11-22 02:14:25 +0530 | |
|---|---|---|
| committer | 2019-11-22 11:13:34 +0530 | |
| commit | 1cca9e4b72b106374f203890b266f18609deefe3 (patch) | |
| tree | 9f281f4b4de296c54d13dc9c7e214f58835636a7 /plugins/pdfview | |
| parent | ee2dcb1de7d3e82b330f49ee9fb5dfd4608207ff (diff) | |
| download | nnn-1cca9e4b72b106374f203890b266f18609deefe3.tar.gz | |
shellcheck fixes
Diffstat (limited to 'plugins/pdfview')
| -rwxr-xr-x | plugins/pdfview | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/pdfview b/plugins/pdfview index 17f45e0..2b953b5 100755 --- a/plugins/pdfview +++ b/plugins/pdfview @@ -10,7 +10,7 @@ # Author: Arun Prakash Jana if ! [ -z "$1" ]; then - if [ $(head -c 4 "$1") = "%PDF" ]; then + if [ "$(head -c 4 "$1")" = "%PDF" ]; then # Convert using pdftotext pdftotext -nopgbrk -layout "$1" - | sed 's/\xe2\x80\x8b//g' | $PAGER |