diff options
author | NRK <nrk@disroot.org> | 2021-09-19 00:10:56 +0600 |
---|---|---|
committer | NRK <nrk@disroot.org> | 2021-09-19 00:10:56 +0600 |
commit | d1b803cdf3657e7bfa11f2aa102db8b565ff1f98 (patch) | |
tree | a382f2a629d36ffcb34180d3b82f327125b791e6 | |
parent | 8e4d2d396b9876c240c3a4d7a82296a57a358706 (diff) | |
download | ranger-d1b803cdf3657e7bfa11f2aa102db8b565ff1f98.tar.gz |
-print explicitly for posix compliance
-rwxr-xr-x | examples/rifle_sxiv.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/rifle_sxiv.sh b/examples/rifle_sxiv.sh index 45a13f28..6c1685be 100755 --- a/examples/rifle_sxiv.sh +++ b/examples/rifle_sxiv.sh @@ -14,7 +14,7 @@ tmp="/tmp/sxiv_rifle_$$" listfiles () { - find -L "///${1%/*}" \( ! -path "///${1%/*}" -prune \) -type f | + find -L "///${1%/*}" \( ! -path "///${1%/*}" -prune \) -type f -print | grep -iE '\.(jpe?g|png|gif|webp|tiff|bmp)$' | sort | tee "$tmp" } |