]> git.mdlowis.com Git - projs/tide.git/commitdiff
Updated helper scripts
authorMichael D. Lowis <mike@mdlowis.com>
Tue, 29 Nov 2016 00:23:27 +0000 (19:23 -0500)
committerMichael D. Lowis <mike@mdlowis.com>
Tue, 29 Nov 2016 00:23:27 +0000 (19:23 -0500)
xfilepick
xtagpick

index 10a91cff342e4a2f6a89f88cfca5ba0d7dbd8d88..9467b55b3fa792e77554c7d9a13076f1effe11f9 100755 (executable)
--- a/xfilepick
+++ b/xfilepick
@@ -3,4 +3,4 @@ if [ "$#" -ne 1 ]; then
     echo "Usage: $0 <dir>"
     exit 1
 fi
-find $1 -type f | ./xpick
+find $1 -not -path '*/\.*' -type f | ./xpick
index a26366b5aac6dff4955872ee795661695ff5d300..ab222f4046fac30ec10c2c22e47bf43b9e4f5317 100755 (executable)
--- a/xtagpick
+++ b/xtagpick
@@ -3,4 +3,4 @@ if [ "$#" -ne 1 ]; then
     echo "Usage: $0 <tagfile>"
     exit 1
 fi
-cut -f1 "$1" | uniq | ./xpick
+cut -f1 "$1" | grep -v '^!' | uniq | ./xpick