summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2013-03-09 00:27:06 +0100
committerhut <hut@lavabit.com>2013-03-09 00:27:06 +0100
commit62af277734f05f27f20467393c9d997012ddd2b4 (patch)
tree4caf32cc99cb76d915557c9c11f1fd3836a4b81d
parentc6217eca95ee932fcd90b0cb4be9d15fed5e0c3b (diff)
downloadranger-62af277734f05f27f20467393c9d997012ddd2b4.tar.gz
examples/rifle_sxiv: fix rifle_sxiv with chars like []
-rwxr-xr-xexamples/rifle_sxiv.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/rifle_sxiv.sh b/examples/rifle_sxiv.sh
index b5e2a095..6307f1c2 100755
--- a/examples/rifle_sxiv.sh
+++ b/examples/rifle_sxiv.sh
@@ -39,7 +39,7 @@ listfiles () {
 }
 
 target="$(abspath "$1")"
-count="$(listfiles | grep -m 1 -Zznx "$target" | cut -d: -f1)"
+count="$(listfiles | grep -m 1 -ZznF "$target" | cut -d: -f1)"
 
 if [ -n "$count" ]; then
     listfiles | xargs -0 sxiv -n "$count" --