Comment on What are the recommended scripting languages for complex shell scripts beyond bash?

<- View Parent
ms264556@beehaw.org ⁨1⁩ ⁨year⁩ ago

It’s pretty close already. I forget where I cribbed the technique from, but I embed python functions into my scripts very often…

E.g. here’s the relevant parts of a bash function from one of my hobby projects …

function rks_encrypt { RUCKUS_SRC=“$1” RUCKUS_DEST=“$2” python3 - <

source
Sort:hotnewtop