[06:12] <brobostigon> morning boys and girls.
[07:47] <zmoylan-pi> o/
[07:53] <brobostigon> o/
[08:10] <brobostigon> my little daughter is on her way, labour has started, :)
[08:12] <zmoylan-pi> good luck!
[08:15] <brobostigon> ty, :)
[08:21] <zmoylan-pi> so... you going to raise her a vim or emacs user? :-P
[08:22] <brobostigon> emacs all the way. :)
[08:23] <zmoylan-pi> trekkie or star wars?
[08:24] <brobostigon> definitly trekkie, :D
[08:24] <zmoylan-pi> ...or whovian...
[08:24] <brobostigon> that too, :)
[08:24] <zmoylan-pi> python or perl?
[08:25] <zmoylan-pi> zx spectrum or c64?
[08:25] <brobostigon> hmm, neither, C++. definitly c64.
[08:26] <zmoylan-pi> there's so much they don't prepare you for to be a parent... :-D
[08:26] <brobostigon> definitly not.
[08:28] <zmoylan-pi> at least you can start their geekdom young now... https://www.zazzle.com/dungeons+and+dragons+baby+clothes
[08:28] <brobostigon> hehe, :)
[15:26] <marshmn> so... say I want a script that I call with sudo, and I want to pass a command with args to the script and have that command be run as another user (using su)
[15:26] <marshmn> (it's not what I want to do, but it illustrates things)
[15:26] <marshmn> I have this working using a here document, like this: https://src.crazedbytes.net/snippets/11
[15:27] <marshmn> but it feels like there should be a way to do that using 'su -c ...' - but I can't get the escaping right to make that work
[15:27] <marshmn> I tried this for example: https://src.crazedbytes.net/snippets/12
[15:27] <marshmn> any ideas on how I make that work?