Created
April 26, 2016 20:30
-
-
Save joecannatti/6b9fd2cfb74ec547ff10d30886aded0c to your computer and use it in GitHub Desktop.
Heart Sutra Bash Script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function heart_sutra { | |
text="Av a lo kit e sh var a Bod hi satt va, when deep ly prac tic ing praj ña par a mit a, clear ly saw | |
that all five agg re gates are emp ty and thus re lieved all suf fer ing. Shar i put ra, form | |
does not dif fer from empt i ness, empt i ness does not dif fer from form. Form it self is | |
empt i ness, empt i ness it self form. Sen sat ions, per cept ions, form at ions, and | |
con scious ness are al so like this. Shar i put ra, all dharm as are marked by empt i ness; | |
they neith er a rise nor cease, are neith er de fil ed nor pure, neith er in crease nor | |
de crease. There fore, giv en empt i ness, there is no form, no sen sat ion, no per cept ion, | |
no form at ion, no consciousness; no eyes, no ears, no nose, no tongue, no bo dy, no | |
mind; no sight, no sound, no smell, no taste, no touch, no ob ject of mind; | |
no realm of sight ... no realm of mind con scious ness. There is neith er ig nor ance nor | |
ex tinct ion of ig nor ance... neith er old age and death, nor ex tinct ion of old age and | |
death; no suff er ing, no cause, no cess at ion, no path; no knowl edge and no | |
at tain ment. With noth ing to at tain, a bod hi satt va re lies on praj ña par a mit a, and thus | |
the mind is with out hind rance. With out hind rance, there is no fear. Far bey ond all | |
in vert ed views, one real iz es nir van a. All budd has of past, pres ent, and fut ure re ly | |
on praj ña par a mit a and there by at tain un sur passed, com plete, per fect | |
en light en ment. There fore, know the praj ña par a mit a as the great mir ac u lous | |
mant ra, the great bright man tra, the su preme man tra, the in comp ar ab le man tra, | |
which re moves all suff er ing and is true, not false | |
. There fore we pro claim the praj ña par a mit a man tra, the man tra that says: Ga te Ga te Par a gate Para sam gate Bod hi Sva ha." | |
echo | |
for word in $text; do | |
echo -ne "\e[41m\e[37m$word \e[0m" | |
sleep 0.5 | |
if [[ $word == *'.'* ]]; then | |
echo | |
fi | |
done | |
echo | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment