From 62af277734f05f27f20467393c9d997012ddd2b4 Mon Sep 17 00:00:00 2001 From: hut Date: Sat, 9 Mar 2013 00:27:06 +0100 Subject: examples/rifle_sxiv: fix rifle_sxiv with chars like [] --- examples/rifle_sxiv.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') 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" -- -- cgit 1.4.1-2-gfad0