Matthew,
Date: Thu, 25 Feb 2016 11:48:14 -0500
From: Matthew Miller <mattdm(a)fedoraproject.org>
To: phil(a)pricom.com.au, Community support for Fedora users
<users(a)lists.fedoraproject.org>
Subject: Re: Bash / Escaping quotes is driving me crazy . .
Message-ID: <20160225164814.GA21990(a)mattdm.org>
Content-Type: text/plain; charset=us-ascii
On Sun, Feb 21, 2016 at 02:18:45PM +1100, Philip Rhoades wrote:
> OK, that all makes sense but there is a further issue - I was trying
> to keep it simple - this whole line is inside a Ruby "system"
> command ie:
Well that's pretty frightening. :)
Have you considered using ruby's Net::SSH instead?
That might be a more sensible option I admit . . for me, I am always
getting stuff done in Bash scripts and then when it starts getting too
hard or clumsy, switching to Ruby - and I guess I am lazy and I keep
re-using what has already been done and is working . .
Regards,
Phil.
--
Philip Rhoades
PO Box 896
Cowra NSW 2794
Australia
E-mail: phil(a)pricom.com.au