From 0d783e17a461da481a4803e3cf970a15f1500bf5 Mon Sep 17 00:00:00 2001 From: NRK Date: Sun, 19 Sep 2021 01:23:05 +0600 Subject: add an implementation note --- examples/rifle_sxiv.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'examples/rifle_sxiv.sh') 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_$$" -- cgit 1.4.1-2-gfad0