iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lots: shellcheck, streaming stuff, fixes
[distro-setup]
/
ziva-screen
diff --git
a/ziva-screen
b/ziva-screen
index 646ae91c73bda9af582f05898f3d1a1d8ede8020..ac875c07b1f05e5194c98361f70cef83b20cfb47 100755
(executable)
--- a/
ziva-screen
+++ b/
ziva-screen
@@
-20,7
+20,7
@@
cd $dest_dir
shopt -s nullglob
jpgs=( 20*jpg )
if (( ${#jpgs[@]} >= 1 )); then
- # shellcheck disable=SC20
48 # intentional
+ # shellcheck disable=SC20
12 # this is much sorter than find|sort
lastf=$(ls -1 20*jpg | tail -n1)
fi