2 Commits 58b8abe95d ... 638c73e22d

Auteur SHA1 Bericht Datum
  George Jones 638c73e22d Comments to make it more clear 4 maanden geleden
  George Jones bc17840951 Tweaks to orgfiles 4 maanden geleden
2 gewijzigde bestanden met toevoegingen van 5 en 2 verwijderingen
  1. 3 0
      lib/bash/bashutils.sh
  2. 2 2
      rc.local/latest.sh

+ 3 - 0
lib/bash/bashutils.sh

@@ -2,6 +2,7 @@
 # Usage: source $HOME/lib/bash/bashutils.sh
 #
 # Imports (optional)
+#   Set these to control behavior
 #
 #   # print debug messages
 #   export DEBUG=1
@@ -17,6 +18,8 @@
 #   export NO_ERRORS=1
 #
 # Exports:
+#   These are defined and exported
+#
 #  ARGV=("$@")
 #  ARGC=("$#")
 #  FALSE=1

+ 2 - 2
rc.local/latest.sh

@@ -56,7 +56,7 @@ function latest ()
     #
     # Defaults for parameters that control find(1)
     #
-    WHAT=${WHAT:-org}
+    WHAT=${WHAT:-org$}
     MTIME=${MTIME:-7}
     WHERE=${WHERE:-.}
     TIMEOUT=30 # max run at 30 seconds
@@ -67,7 +67,7 @@ function latest ()
     #   "junk" stanard on linux systems
     PRUNE_LINUX='/.git/|backups/|auto-save-list|/.config/|snap/|/.cache/|/.local/|/.mozilla/|/.targe|/.rustup/|/.cargo/|/.venv/'
     #   junk specific to me  Your junk milage may vary.
-    PRUNE_JUST_ME='blog/docs'
+    PRUNE_JUST_ME='blog/docs|orgfiles'
     PRUNE=".*(${PRUNE_JUST_ME}|${PRUNE_LINUX}).*"
     #
     # defaults for parameters that control grep of file content