Author: Carsten Aulbert
Date:
To: dmo-discussion
Subject: Re: Better code in mythweb.postinst
Hi
On 08/16/2013 02:28 PM, Christian Marillat wrote:
> Not so easy. Now sed is unable to parse a password with a #.
Yes, either you need to document that one character usable by sed as a
limiter cannot be used OR you need to escabe this in the password, e.g.
echo "f7%23/sf#sdjfk/ffdf" | sed 's#/#\\/#g'
This should escape the slash and then allow sed to correctly get the
string - not fully tested yet.
If this fails, I'll look into it again.
HTH
Carsten