about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorNRK <nrk@disroot.org>2021-09-19 01:23:05 +0600
committerNRK <nrk@disroot.org>2021-09-19 01:23:05 +0600
commit0d783e17a461da481a4803e3cf970a15f1500bf5 (patch)
tree79e1066ef77de743d8a7f087c1514d574cb13fc8
parentd1b803cdf3657e7bfa11f2aa102db8b565ff1f98 (diff)
downloadranger-0d783e17a461da481a4803e3cf970a15f1500bf5.tar.gz
add an implementation note
-rwxr-xr-xexamples/rifle_sxiv.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/rifle_sxiv.sh b/examples/rifle_sxiv.sh
index 6c1685be..35c65da9 100755
--- a/examples/rifle_sxiv.sh
+++ b/examples/rifle_sxiv.sh
@@ -10,6 +10,10 @@
 #
 #   mime ^image, has sxiv, X, flag f = path/to/this/script -- "$@"
 #
+# Implementation note: the script tries to be POSIX compliant both in terms of
+# shell syntax and calls being made to external utilities, such as grep or find.
+# This makes it portable across many unix like systems, although it may not be
+# the cleanest or fastest approach.
 
 tmp="/tmp/sxiv_rifle_$$"