about summary refs log tree commit diff stats
path: root/examples
diff options
context:
space:
mode:
authorNRK <nrk@disroot.org>2021-09-19 01:59:29 +0600
committerNRK <nrk@disroot.org>2021-09-19 01:59:29 +0600
commit72a0cfefcfb349627f0d278cb1bc295f0a242bbc (patch)
tree823343fa05e0a7204ef68764b81158bc94b1aad0 /examples
parent4451a87a2bf9b95afd566ddcaaa7ba548d1ec8dc (diff)
downloadranger-72a0cfefcfb349627f0d278cb1bc295f0a242bbc.tar.gz
cleanup the comment
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/rifle_sxiv.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/examples/rifle_sxiv.sh b/examples/rifle_sxiv.sh
index e5b14db8..82c65f6c 100755
--- a/examples/rifle_sxiv.sh
+++ b/examples/rifle_sxiv.sh
@@ -19,10 +19,9 @@
 # 'realpath' because it would fork a whole process, which is slow.
 #
 # Second, we need to append a file list to sxiv, which can only be done
-# properly in three ways: arrays (which are not POSIX) or \0 sperated strings.
-# Unfortunately, assigning \0 to a variable is not POSIX either (will not work
-# in dash and others), so we cannot store the result of listfiles to a
-# variable.
+# properly in three ways: arrays (which are not POSIX).
+# \0 separated strings; but assigning \0 to a variable is not POSIX either
+# so we cannot store the result of listfiles to a variable.
 #
 # The third approach is to store the result to a tmpfile and using `-i` to feed
 # the list to sxiv. This is the fastest approach since we won't have to call