From: Chris Koeritz Date: Mon, 31 Mar 2014 16:40:47 +0000 (-0400) Subject: new fortune. improvement to handle directories with spaces in rev_update rev_checkin... X-Git-Tag: 2.140.90~803 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=3d191a7f5945a7e524cc6c1cf8baaf752befe3f3;p=feisty_meow.git new fortune. improvement to handle directories with spaces in rev_update rev_checkin etc. --- diff --git a/infobase/fortunes.dat b/infobase/fortunes.dat index 6b160828..fcab8c96 100644 --- a/infobase/fortunes.dat +++ b/infobase/fortunes.dat @@ -40066,3 +40066,26 @@ When we understand what our thoughts and feelings are, and we experience them in this way, we are able to let them come and let them go. -- Ringu Tulku, from "Confusion Arises as Wisdom: Gampopa’s Heart Advice on the Path of Mahamudra", published by Shambhala Publications. +~ + The second quality of devotion is absence of arrogance. The arrogant +approach is to be so passionately involved with our teacher that we become +devotional chauvinists and cease to see the rest of the world properly. In +fact, we become passionately involved with our own arrogance. We indulge our +“devotion” by collecting information, techniques, stories, little words of +wisdom—all to confirm our chauvinistic view. It actually reaches a point +that the teacher upon whom our arrogance is based himself becomes a threat. +The absurdity is that we even end up wanting to use our collection of +ammunition against our teacher when he begins giving our “devotion” a hard +time. + If our devotion is without arrogance there is not this resentment toward the +world or the guru. Absence of such arrogance is absolutely necessary. When +courting a teacher, students frequently make a sort of detailed application, +listing all their insights and spiritual credentials. That is too arrogant; +it is phony, out of the question altogether. It is fine to offer our +particular skills or neuroses to the guru as a gift or an opening gesture. +But if we begin to dress up our neuroses as virtues, like a person writing a +resumé, that is unacceptable. Devotion without arrogance demands that we +stop clinging to our particular case history, that we relate to the teacher +and to the world in a naked and direct way, without hiding behind credentials. + -- Chögyam Trungpa, from "The Heart of the Buddha: Entering the Tibetan + Buddhist Path" diff --git a/scripts/rev_control/version_control.sh b/scripts/rev_control/version_control.sh index e3e0c4b1..e004964a 100644 --- a/scripts/rev_control/version_control.sh +++ b/scripts/rev_control/version_control.sh @@ -275,16 +275,17 @@ function perform_action_on_file() local tempfile="$1"; shift local action="$1"; shift - dirs=($(cat $tempfile)) +# dirs=($(cat $tempfile)) - for dirname in ${dirs[@]}; do + while read -u 3 dirname; do +# for dirname in "${dirs[@]}"; do if [ -z "$dirname" ]; then continue; fi - pushd $dirname &>/dev/null + pushd "$dirname" &>/dev/null echo "[$(pwd)]" $action . echo "=======" popd &>/dev/null - done + done 3<"$tempfile" rm $tempfile }