Some particularly interesting text from Žižek's 「First as Tragedy, Then as Farce」:( Collapse )
Just spent a fair amount of time trying to figure out how, on one of our systems, to get a non-interactive bash to read our (involved) dotfiles to pick up the large set of environment variables so that people can run commands over ssh. Turns out that a very tiny shell script wrapper with "#!/bin/bash -login" as the hashbang and "$*" as the only other line is the easiest solution. This in theory should've been easy, but ssh handles quotes in a rather surprising way preventing the obvious "bash -c ..." solution from working. bash's dotfile parsing semantics also leave something to be desired. I am pleased that the grad student I'm working with is up this late too and we're going back and forth over email with fixes to components of the system.