summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2021-07-27 09:45:20 -0700
committerxyz <gky44px1999@gmail.com>2021-07-27 09:45:20 -0700
commit9b26c679563869d9442e94f42316efde6f3280f9 (patch)
tree6250816e4b37222916c0b1afbf1d6e5d08425f2a
parent06588bb7f19772edffae4b8729fda857b13bddf0 (diff)
patch
-rwxr-xr-x.local/bin/orgext3
1 files changed, 2 insertions, 1 deletions
diff --git a/.local/bin/orgext b/.local/bin/orgext
index a3863cf8..b424258a 100755
--- a/.local/bin/orgext
+++ b/.local/bin/orgext
@@ -1,5 +1,6 @@
#!/bin/sh
-# can improve by passing $@ to functions but seems need bashism
+# can improve by passing $@ to functions, but seems need bashism, or abandon functions
+# maybe use $1 for getext and use getopts, maybe seperate getext as another script
# references:
# https://stackoverflow.com/questions/1842254/how-can-i-find-all-of-the-distinct-file-extensions-in-a-folder-hierarchy